Changeset View
Changeset View
Standalone View
Standalone View
docker/proxy/rootfs/etc/nginx/nginx.conf
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | http { | ||||
server { | server { | ||||
listen [::]:443 ssl ipv6only=on; | listen [::]:443 ssl ipv6only=on; | ||||
listen 443 ssl; | listen 443 ssl; | ||||
ssl_certificate /etc/letsencrypt/live/$server_name/fullchain.pem; | ssl_certificate /etc/letsencrypt/live/$server_name/fullchain.pem; | ||||
ssl_certificate_key /etc/letsencrypt/live/$server_name/privkey.pem; | ssl_certificate_key /etc/letsencrypt/live/$server_name/privkey.pem; | ||||
server_name kanarip.internet-box.ch; | server_name APP_WEBSITE_DOMAIN; | ||||
root /usr/share/nginx/html; | root /usr/share/nginx/html; | ||||
# Load configuration files for the default server block. | # Load configuration files for the default server block. | ||||
include /etc/nginx/default.d/*.conf; | include /etc/nginx/default.d/*.conf; | ||||
location / { | location / { | ||||
proxy_pass http://127.0.0.1:8000; | proxy_pass http://127.0.0.1:8000; | ||||
proxy_redirect off; | proxy_redirect off; | ||||
proxy_set_header Host $host; | proxy_set_header Host $host; | ||||
proxy_set_header X-Real-IP $remote_addr; | proxy_set_header X-Real-IP $remote_addr; | ||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||||
proxy_set_header X-Forwarded-Host $host; | proxy_set_header X-Forwarded-Host $host; | ||||
proxy_set_header X-Forwarded-Proto $scheme; | proxy_set_header X-Forwarded-Proto $scheme; | ||||
proxy_no_cache 1; | proxy_no_cache 1; | ||||
proxy_cache_bypass 1; | proxy_cache_bypass 1; | ||||
▲ Show 20 Lines • Show All 100 Lines • Show Last 20 Lines |