Browse Source

Add example nginx config for isntallation by distributions.

pull/785/head
Dominik George 7 years ago
parent
commit
cc7e345281
No known key found for this signature in database GPG Key ID: B79A3C16A0C4F296
  1. 22
      etc/nginx/conf.d/movim.conf

22
etc/nginx/conf.d/movim.conf

@ -0,0 +1,22 @@
location /movim/ {
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
}
location /movim/ws/ {
proxy_pass http://localhost:8080/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
include proxy_params;
}
location /movim/log/ {
deny all;
}
location /movim/cache/ {
deny all;
}
}
Loading…
Cancel
Save