diff --git a/conf/nginx.conf b/conf/nginx.conf index dfe5727..6759d0b 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -15,7 +15,7 @@ location __PATH__/ { } fastcgi_split_path_info ^(.+?\.php)(/.*)$; - fastcgi_pass unix:/var/run/php-fpm-__NAME__.sock; + fastcgi_pass unix:/var/run/php__PHPVERSION__-fpm-__NAME__.sock; fastcgi_index index.php; include fastcgi_params; fastcgi_param REMOTE_USER $remote_user; @@ -42,19 +42,3 @@ 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; -} \ No newline at end of file diff --git a/conf/systemd.service b/conf/systemd.service index 570d65a..1802eb4 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -5,8 +5,8 @@ After=nginx.service network.target local-fs.target postgresql.service [Service] Type=simple User=www-data -ExecStart=/usr/bin/php daemon.php start --interface=127.0.0.1 --url=https://__DOMAIN____PATH__ --port=__PORT__ WorkingDirectory=__FINALPATH__ +ExecStart=/usr/bin/php daemon.php start --url=https://__DOMAIN____PATH__ --port=__PORT__ StandardOutput=syslog SyslogIdentifier=__APP__ PIDFile=/run/movim.pid