Fix Gitea ROOT_URL for subdomain git.a-crm.controlsystem.kz
This commit is contained in:
@@ -57,12 +57,14 @@ http {
|
||||
# Gitea proxy
|
||||
location /git/ {
|
||||
set $gitea_backend gitea:3000;
|
||||
proxy_pass http://$gitea_backend;
|
||||
proxy_pass http://$gitea_backend/;
|
||||
proxy_http_version 1.1;
|
||||
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;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_set_header X-Forwarded-Prefix /git;
|
||||
}
|
||||
|
||||
# Default - static files
|
||||
|
||||
Reference in New Issue
Block a user