Hi,
I’ve just updated apps (OpenSondage & NextCloud) form the Yunohost admin panel and I can’t access apps form firefox.
When i restart nginx, I have this message :
root@domain:/etc/nginx/conf.d# systemctl status nginx.service* nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled)
Active: failed (Result: exit-code) since Wed 2017-08-30 12:40:24 UTC; 10s ago
Process: 2987 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Aug 30 12:40:24 domain nginx[2987]: nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/conf.d/subdomain.domain...age.conf:1
Aug 30 12:40:24 domain nginx[2987]: nginx: configuration file /etc/nginx/nginx.conf test failed
Aug 30 12:40:24 domain systemd[1]: nginx.service: control process exited, code=exited status=1
Aug 30 12:40:24 domain systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Aug 30 12:40:24 domain systemd[1]: Unit nginx.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
Below, the conf file :
location {
alias /var/www/opensondage/;
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
index index.php;
try_files $uri $uri/ /index.php;
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php5-fpm-opensondage.sock;
include fastcgi_params;
fastcgi_param REMOTE_USER $remote_user;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $request_filename;
fastcgi_param HTTPS on;
}
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}
location ~ ^/(data|config|\.ht|db_structure\.xml|README) {
deny all;
}
And i can’t remove opensondage cause of ngnix :
yunohost app remove opensondage
Warning: Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.
Success! The SSOwat configuration has been generated
But I don’t know what can I do with that. Could you help me please ?