13 lines
280 B
Plaintext
13 lines
280 B
Plaintext
|
server {
|
||
|
server_name GITEA_HOSTNAME;
|
||
|
listen 80;
|
||
|
|
||
|
location / {
|
||
|
proxy_pass http://127.0.0.1:5000/;
|
||
|
proxy_buffering off;
|
||
|
proxy_set_header X-Real-IP $remote_addr;
|
||
|
proxy_set_header X-Forwarded-Host $host;
|
||
|
proxy_set_header X-Forwarded-Port $server_port;
|
||
|
}
|
||
|
}
|