mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] Set Path as full-path (#563)
* [fix] Set Path as full-path * same * Update yunohost_admin.conf
This commit is contained in:
parent
1a05cd80d7
commit
d77b157bcc
2 changed files with 6 additions and 6 deletions
|
@ -73,6 +73,6 @@ server {
|
||||||
access_by_lua_file /usr/share/ssowat/access.lua;
|
access_by_lua_file /usr/share/ssowat/access.lua;
|
||||||
}
|
}
|
||||||
|
|
||||||
include conf.d/yunohost_admin.conf.inc;
|
include /etc/nginx/conf.d/yunohost_admin.conf.inc;
|
||||||
include conf.d/yunohost_api.conf.inc;
|
include /etc/nginx/conf.d/yunohost_api.conf.inc;
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@ server {
|
||||||
|
|
||||||
access_by_lua_file /usr/share/ssowat/access.lua;
|
access_by_lua_file /usr/share/ssowat/access.lua;
|
||||||
|
|
||||||
include conf.d/{{ domain }}.d/*.conf;
|
include /etc/nginx/conf.d/{{ domain }}.d/*.conf;
|
||||||
|
|
||||||
location /yunohost/admin {
|
location /yunohost/admin {
|
||||||
return 301 https://$http_host$request_uri;
|
return 301 https://$http_host$request_uri;
|
||||||
|
@ -79,10 +79,10 @@ server {
|
||||||
|
|
||||||
access_by_lua_file /usr/share/ssowat/access.lua;
|
access_by_lua_file /usr/share/ssowat/access.lua;
|
||||||
|
|
||||||
include conf.d/{{ domain }}.d/*.conf;
|
include /etc/nginx/conf.d/{{ domain }}.d/*.conf;
|
||||||
|
|
||||||
include conf.d/yunohost_admin.conf.inc;
|
include /etc/nginx/conf.d/yunohost_admin.conf.inc;
|
||||||
include conf.d/yunohost_api.conf.inc;
|
include /etc/nginx/conf.d/yunohost_api.conf.inc;
|
||||||
|
|
||||||
access_log /var/log/nginx/{{ domain }}-access.log;
|
access_log /var/log/nginx/{{ domain }}-access.log;
|
||||||
error_log /var/log/nginx/{{ domain }}-error.log;
|
error_log /var/log/nginx/{{ domain }}-error.log;
|
||||||
|
|
Loading…
Add table
Reference in a new issue