aboutsummaryrefslogtreecommitdiffstats
path: root/templates/ingress/usr_local_etc_nginx_nginx.conf.j2
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-12-20 21:10:47 +0200
committerJan Tuomi <jan@jantuomi.fi>2025-12-20 21:10:47 +0200
commit5ebb5cea738fdd2dcb057259c4235ccaa8d2cd15 (patch)
tree927cf7a344f686db3cf01998e2a9d3366ee68e0d /templates/ingress/usr_local_etc_nginx_nginx.conf.j2
parent1c90ac78adc7f7b6b45be9d47f70ee3591c45454 (diff)
Move goaccess to own jail
Diffstat (limited to 'templates/ingress/usr_local_etc_nginx_nginx.conf.j2')
-rw-r--r--templates/ingress/usr_local_etc_nginx_nginx.conf.j224
1 files changed, 0 insertions, 24 deletions
diff --git a/templates/ingress/usr_local_etc_nginx_nginx.conf.j2 b/templates/ingress/usr_local_etc_nginx_nginx.conf.j2
index e6e35b2..ae08d46 100644
--- a/templates/ingress/usr_local_etc_nginx_nginx.conf.j2
+++ b/templates/ingress/usr_local_etc_nginx_nginx.conf.j2
@@ -85,30 +85,6 @@ http {
return 307 https://{{ route.redirect }}$request_uri;
}
- {% elif route.static is defined -%}
- server {
- server_name {{ route.host }};
- http2 on;
-
- listen 443 ssl;
- listen [::]:443 ssl;
-
- # See https://ssl-config.mozilla.org/#server=nginx&version=1.28.0&config=intermediate&openssl=3.4.0&guideline=5.7
- add_header Strict-Transport-Security "max-age=63072000" always;
-
- ssl_certificate /usr/local/etc/letsencrypt/live/{{ cert_name }}/fullchain.pem;
- ssl_certificate_key /usr/local/etc/letsencrypt/live/{{ cert_name }}/privkey.pem;
- include /usr/local/etc/letsencrypt/options-ssl-nginx.conf;
- ssl_dhparam /usr/local/etc/letsencrypt/ssl-dhparams.pem;
-
- # No error logging for static files
- error_log off;
-
- location / {
- root {{ route.static }};
- index index.html;
- }
- }
{% elif route.ip is defined -%}
server {
server_name {{ route.host }};