Commit 11845a1124
Verified · cmc
Layout: unified · split
linux/nginx/etc/nginx/conf.d/git.conf +1 −1
| @@ -32,7 +32,7 @@ server { | |||
| 32 | # img.* vhost would be blocked. Only the two white wordmarks are | 32 | # img.* vhost would be blocked. Only the two white wordmarks are |
| 33 | # world-readable in that directory; the purple variants are not. | 33 | # world-readable in that directory; the purple variants are not. |
| 34 | location /assets/ { | 34 | location /assets/ { |
| 35 | alias /var/www/img/krz/; | 35 | alias /var/www/i/krz/; |
| 36 | expires 30d; | 36 | expires 30d; |
| 37 | } | 37 | } |
| 38 | 38 | ||
linux/nginx/etc/nginx/conf.d/krz.sh.conf +1
| @@ -6,4 +6,5 @@ server { | |||
| 6 | include custom.d/basic.conf; | 6 | include custom.d/basic.conf; |
| 7 | include custom.d/security/content-security-policy-krz.conf; | 7 | include custom.d/security/content-security-policy-krz.conf; |
| 8 | location / { try_files $uri $uri/ =404; } | 8 | location / { try_files $uri $uri/ =404; } |
| 9 | location /hutch/ { return 301 https://krz.sh/apps$request_uri; } | ||
| 9 | } | 10 | } |