Commit 86f2f7d0a6
Verified · cmc
Layout: unified · split
linux/nginx/etc/nginx/conf.d/bb.conf added +23
| @@ -0,0 +1,23 @@ | ||
| 1 | server { | |
| 2 | listen 443 ssl; | |
| 3 | http2 on; | |
| 4 | server_name bb.zerolabs.sh; | |
| 5 | ||
| 6 | include custom.d/tls/ssl_engine.conf; | |
| 7 | include custom.d/tls/certificate_files_zerolabs_sh.conf; | |
| 8 | include custom.d/tls/policy_strict.conf; | |
| 9 | include custom.d/basic.conf; | |
| 10 | location / { | |
| 11 | proxy_pass $backend_address; | |
| 12 | include custom.d/reverse_proxy/basic.conf; | |
| 13 | proxy_read_timeout 120s; | |
| 14 | proxy_send_timeout 120s; | |
| 15 | } | |
| 16 | include custom.d/security/robots_index_only.conf; | |
| 17 | } | |
| 18 | ||
| 19 | server { | |
| 20 | listen 80; | |
| 21 | server_name bb.zerolabs.sh; | |
| 22 | return 301 https://bb.zerolabs.sh$request_uri; | |
| 23 | } | |