mirror of
https://git.digitalstudium.com/digitalstudium/gitea
synced 2023-12-29 08:06:35 +00:00
first commit
This commit is contained in:
12
git.conf
Normal file
12
git.conf
Normal file
@@ -0,0 +1,12 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user