openreplay/frontend/nginx.conf
rjshrjndrn 26c8d769b7 chore(nginx): removing ipv6, as some machines won't have support for
that.

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2022-08-01 19:07:33 +02:00

11 lines
379 B
Nginx Configuration File

server {
listen 8080 default_server;
root /var/www/openreplay;
index index.html;
location / {
try_files $uri $uri/ =404;
rewrite ^((?!.(js|css|png|svg|jpg|woff|woff2)).)*$ /index.html break;
proxy_intercept_errors on; # see frontend://nginx.org/en/docs/frontend/ngx_frontend_proxy_module.html#proxy_intercept_errors
error_page 404 =200 /index.html;
}
}