server { listen 80 default_server; listen [::]:80 default_server; listen 443 http2 ssl default_server; listen [::]:443 http2 ssl default_server; server_name _; include enable-ssl.conf; include ssl-for-nasp_fit.conf; location / { return 404; } } server { listen 80; listen [::]:80; server_name git.ob.ac.cn git.nasp.ob.ac.cn; return 301 https://git.nasp.fit$request_uri; } server { listen 80; listen [::]:80; listen 443 http2 ssl; listen [::]:443 http2 ssl; server_name git.nasp.fit; include enable-ssl.conf; include ssl-for-nasp_fit.conf; location / { client_max_body_size 100G; proxy_pass http://localhost:3000; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } } server { listen 80; listen [::]:80; listen 443 http2 ssl; listen [::]:443 http2 ssl; server_name status.nasp.fit; include enable-ssl.conf; include ssl-for-nasp_fit.conf; location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $host; proxy_pass http://localhost:3001/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } location /mirrors { autoindex on; autoindex_localtime on; autoindex_exact_size off; add_header Cache-Control no-cache; root /data0/public; index index.html; } } server { listen 80; listen [::]:80; listen 443 http2 ssl; listen [::]:443 http2 ssl; server_name grafana.nasp.fit; include enable-ssl.conf; include ssl-for-nasp_fit.conf; location / { proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $http_host; proxy_pass http://localhost:3002; } } server { listen 80; server_name 192.168.16.*; root /data0/public; index index.html; location / { autoindex on; autoindex_localtime on; autoindex_exact_size off; add_header Cache-Control no-cache; } }