Browse Source

Fix nginx redirect

master
Garrit Franke 4 years ago
parent
commit
6961ad4604
  1. 4
      client/conf/conf.d/default.conf

4
client/conf/conf.d/default.conf

@ -3,6 +3,10 @@ server {
server_name localhost;
location / {
if (!-e $request_filename){
rewrite http://$server_name break;
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;

Loading…
Cancel
Save