Update configs
This commit is contained in:
parent
b7e6599c99
commit
72ed0afc45
|
@ -1,4 +1,5 @@
|
|||
server {
|
||||
listen 80;
|
||||
|
||||
access_log /var/log/nginx/files.access.log combined;
|
||||
error_log /var/log/nginx/files.error.log;
|
||||
|
|
|
@ -3,12 +3,15 @@ server {
|
|||
|
||||
server_name git.zzls.xyz;
|
||||
# Security headers and general settings
|
||||
include configs/securityheaders.conf;
|
||||
#include configs/securityheaders.conf;
|
||||
include configs/general.conf;
|
||||
|
||||
location / {
|
||||
proxy_pass http://unix:/run/forgejo/forgejo.socket;
|
||||
include configs/proxyheaders.conf;
|
||||
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;
|
||||
}
|
||||
|
||||
# QUIC
|
||||
|
|
Loading…
Reference in New Issue