Alexander Schaber
7eae695a78
build!: switch nginx docker base image to unprivileged version
2023-09-24 23:28:32 +02:00
Alejandro Celaya
d5fadc56af
Removed new empty line added by mistake
2021-05-29 11:54:08 +02:00
Alejandro Celaya
bbc3342c00
Moved servers.json config on nginx above another less restrictive but conflicting rule
2021-05-29 11:53:06 +02:00
Matias Garcia Isaia
76ebbd318a
Support servers.json in a conf.d directory
...
In Cattle (and maybe other Docker environments) you can't mount specific files, but
have to mount a whole volume as a directory.
We now allow the servers.json to be looked for inside a specific folder to support
that use case.
2021-05-29 11:41:32 +02:00
Alejandro Celaya
de906bf370
Added proper caching rules to nginx config included in docker image
2020-10-31 13:36:53 +01:00
MartinH0
6ac3a49db2
Updated nginx.conf (optimization for future)
...
1. changed location from "~" (case sensitive!) to "~*" (case insensitive!) to also match uppercase static assets. (http://nginx.org/en/docs/http/ngx_http_core_module.html#location )
2. added regex "jpe?g" to match "jpg" and "jpeg" in one command.
2020-01-31 01:36:17 +01:00
Alejandro Celaya
66124370a6
Added json extension to the list of known static files that have to fall back to 404 on nginx
2019-10-21 18:49:47 +02:00
Alejandro Celaya
1b5f7b0d76
Added nginx congif which ensures client-side paths are served as the index.html
2019-09-22 11:55:21 +02:00