add identity gitea

This commit is contained in:
vincent 2020-02-02 12:45:38 +01:00
parent 91c6eb3a04
commit 7ae1647e61

View File

@ -242,6 +242,13 @@ nginx_vhosts:
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
proxy_pass http://localhost:8123;
}
location /api/websocket {
proxy_pass http://localhost:8123/api/websocket;
proxy_set_header Host $host;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
nginx_realIP_Proxy: 192.168.1.40/24