Merge branch 'main' into git-scanning-app

This commit is contained in:
Maidul Islam
2023-07-17 17:20:04 -04:00
committed by GitHub
61 changed files with 1594 additions and 506 deletions

View File

@@ -15,19 +15,19 @@ server {
proxy_cookie_path / "/; HttpOnly; SameSite=strict";
}
location /git-app-api {
proxy_set_header X-Real-RIP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# location /git-app-api {
# proxy_set_header X-Real-RIP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;
# proxy_set_header Host $http_host;
# proxy_set_header X-NginX-Proxy true;
proxy_pass http://git-app:3000/;
proxy_redirect off;
# proxy_redirect http://localhost:8080/ http://frontend.example.com/;
# proxy_pass http://git-app:3000/;
# proxy_redirect off;
# # proxy_redirect http://localhost:8080/ http://frontend.example.com/;
proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict";
}
# proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict";
# }
location / {
include /etc/nginx/mime.types;