alfresco-content-app/docker/default.conf.template
Denys Vuika 0ed0a10471
disable about and settings by default (#1868)
* disable about and settings by default

* support docker variables

* remove comments
2020-12-09 12:30:53 +00:00

31 lines
752 B
Plaintext

server {
listen 8080;
server_name localhost;
root /usr/share/nginx/html;
rewrite ^([^.]*[^/])$ $1/ permanent;
absolute_redirect off;
location ${BASE_PATH} {
set $EVAL_BASE_PATH "${BASE_PATH}";
if ($EVAL_BASE_PATH = "/") {
root /usr/share/nginx/html;
}
index index.html index.htm;
alias /usr/share/nginx/html;
}
location ~ /app.config.json {
alias ${NGINX_ENVSUBST_OUTPUT_DIR}/app.config.json;
}
location ~ /assets/app.extensions.json {
alias ${NGINX_ENVSUBST_OUTPUT_DIR}/app.extensions.json;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}