Browse Source
Add example nginx config for isntallation by distributions.
pull/785/head
Dominik George
7 years ago
No known key found for this signature in database
GPG Key ID: B79A3C16A0C4F296
1 changed files with
22 additions and
0 deletions
-
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; |
|
|
|
} |
|
|
|
} |