# Gitea config # destination ip is aangepast server { #listen 443 ssl http2; # if you need IPv6: listen [::]:443 ssl http2; server_name git.pg0h.nl www.pg0h.nl; access_log /var/log/nginx/gitpg0h-access.log combined; error_log /var/log/nginx/gitpg0h-error.log info; http2_push_preload on; # Enable HTTP/2 Server Push ssl_certificate /etc/letsencrypt/live/pg0h.nl-0001/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/pg0h.nl-0001/privkey.pem; include /etc/letsencrypt/options-ssl-nginx.conf; ssl_dhparam /etc/letsencrypt/ssl-dhparams2.pem; ssl_stapling on; ssl_stapling_verify on; location / { proxy_pass http://172.16.69.69:3000; client_max_body_size 100g; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } }