mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-26 17:24:45 +00:00
49 lines
1.1 KiB
Nginx Configuration File
49 lines
1.1 KiB
Nginx Configuration File
worker_processes 1;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
server {
|
|
listen *:8080;
|
|
|
|
client_max_body_size 0;
|
|
|
|
set $allowOriginSite *;
|
|
proxy_pass_request_headers on;
|
|
proxy_pass_header Set-Cookie;
|
|
|
|
# External settings, do not remove
|
|
#ENV_ACCESS_LOG
|
|
|
|
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:$server_port;
|
|
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 / {
|
|
proxy_pass http://alfresco:8080;
|
|
}
|
|
|
|
location /content-app/ {
|
|
proxy_pass http://content-app:8080/;
|
|
}
|
|
|
|
location /alfresco/ {
|
|
proxy_pass http://alfresco:8080;
|
|
}
|
|
|
|
location /api-explorer/ {
|
|
proxy_pass http://alfresco:8080/api-explorer/;
|
|
}
|
|
|
|
location /share/ {
|
|
proxy_pass http://share:8080;
|
|
}
|
|
}
|
|
}
|