mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
44 lines
1.4 KiB
Nginx Configuration File
44 lines
1.4 KiB
Nginx Configuration File
server {
|
|
listen *:80;
|
|
|
|
set $allowOriginSite *;
|
|
proxy_pass_request_headers on;
|
|
proxy_pass_header Set-Cookie;
|
|
|
|
location / {
|
|
proxy_pass http://content-app;
|
|
|
|
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
|
|
proxy_redirect off;
|
|
proxy_buffering off;
|
|
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_pass_header Set-Cookie;
|
|
}
|
|
|
|
location /alfresco/ {
|
|
proxy_pass http://alfresco:8080;
|
|
|
|
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
|
|
proxy_redirect off;
|
|
proxy_buffering off;
|
|
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_pass_header Set-Cookie;
|
|
}
|
|
|
|
location /share/ {
|
|
proxy_pass http://share:8080;
|
|
|
|
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
|
|
proxy_redirect off;
|
|
proxy_buffering off;
|
|
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_pass_header Set-Cookie;
|
|
}
|
|
}
|