Browse Source

Merge pull request #785 from Natureshadow/patch-9

Add example nginx config for installation by distributions.
pull/808/head
Jaussoin Timothée 7 years ago
committed by GitHub
parent
commit
014c613528
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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