Commit 5d43e0c9c2
Verified · cmc
Layout: unified · split
linux/nginx/etc/nginx/conf.d/cleberg.net.conf +22
| @@ -50,6 +50,28 @@ server { | |||
| 50 | return 301 https://cleberg.net$request_uri; | 50 | return 301 https://cleberg.net$request_uri; |
| 51 | } | 51 | } |
| 52 | 52 | ||
| 53 | server { | ||
| 54 | listen [::]:443 ssl; | ||
| 55 | listen 443 ssl; | ||
| 56 | http2 on; | ||
| 57 | server_name hutch.cleberg.net; | ||
| 58 | include custom.d/tls/ssl_engine.conf; | ||
| 59 | include custom.d/tls/certificate_files.conf; | ||
| 60 | include custom.d/tls/policy_strict.conf; | ||
| 61 | include custom.d/basic.conf; | ||
| 62 | include custom.d/security/strict-transport-security.conf; | ||
| 63 | include custom.d/security/content-security-policy.conf; | ||
| 64 | include custom.d/security/permissions-policy.conf; | ||
| 65 | |||
| 66 | location = /privacy.html { | ||
| 67 | return 301 https://zerolabs.sh/hutch/privacy-policy/; | ||
| 68 | } | ||
| 69 | |||
| 70 | location = / { | ||
| 71 | return 301 https://zerolabs.sh/hutch/; | ||
| 72 | } | ||
| 73 | } | ||
| 74 | |||
| 53 | server { | 75 | server { |
| 54 | listen 127.0.0.1:8090; | 76 | listen 127.0.0.1:8090; |
| 55 | server_name paske4urhs6nttrtlkuwa5cowum3fjkc6yv6kl4ncx3mjxcd77764nqd.onion; | 77 | server_name paske4urhs6nttrtlkuwa5cowum3fjkc6yv6kl4ncx3mjxcd77764nqd.onion; |