freechat/json-api/ngninx.conf
shockrah 6bc8dd0d7d tests are now ran with https as we now use https with nginx as a frontend however:
The client tester is super scuffed and no longer in a pipeline ready state as a new docker image has to be created(again)
2021-02-11 20:06:56 -08:00

16 lines
349 B
Plaintext

server {
listen 80 default_server;
listen [::]:80 default_server;
# passing to json-api here
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
# attempt to pass
proxy_pass http://0.0.0.0:4536;
#proxy_set_header: X-Real-IP $remote_addr;
}
}