mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
fix
This commit is contained in:
parent
05f2dfd07b
commit
1c4348aa8f
2 changed files with 21 additions and 8 deletions
|
@ -6,9 +6,9 @@
|
|||
;; Test complet
|
||||
; Manifest
|
||||
domain="domain.tld" (DOMAIN)
|
||||
path="/path" (PATH)
|
||||
admin="john" (USER)
|
||||
is_public=1 (PUBLIC|public=1|private=0)
|
||||
path="/path" (PATH)
|
||||
admin="john" (USER)
|
||||
is_public=1 (PUBLIC|public=1|private=0)
|
||||
password="phrasedepasse"
|
||||
language="fr"
|
||||
ssoenabled="Yes"
|
||||
|
|
|
@ -11,10 +11,6 @@ location __PATH__/ {
|
|||
try_files $uri $uri/ /index.php;
|
||||
|
||||
location ~ [^/]\.php(/|$) {
|
||||
if ($request_uri ~ "\/movim\/\?infos") {
|
||||
return 403;
|
||||
}
|
||||
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php__PHPVERSION__-fpm-__NAME__.sock;
|
||||
fastcgi_index index.php;
|
||||
|
@ -24,7 +20,7 @@ location __PATH__/ {
|
|||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||
}
|
||||
|
||||
location /movim/ws/ {
|
||||
location ~ ^__PATH__/ws/ {
|
||||
proxy_pass http://127.0.0.1:__PORT__;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
|
@ -43,3 +39,20 @@ location __PATH__/ {
|
|||
# Include SSOWAT user panel.
|
||||
include conf.d/yunohost_panel.conf.inc;
|
||||
}
|
||||
|
||||
|
||||
location ~ /\.ht {
|
||||
deny all;
|
||||
}
|
||||
|
||||
location ^~ /movim/log/ {
|
||||
return 403;
|
||||
}
|
||||
|
||||
location ^~ /movim/config/ {
|
||||
return 403;
|
||||
}
|
||||
|
||||
location ^~ /movim/?infos {
|
||||
return 403;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue