mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Allow to extend the nginx default_server configuration
This commit is contained in:
parent
649179338a
commit
f1bfc521ae
1 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,8 @@ server {
|
||||||
location /yunohost/admin {
|
location /yunohost/admin {
|
||||||
return 301 https://$http_host$request_uri;
|
return 301 https://$http_host$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
include /etc/nginx/conf.d/default.d/*.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
@ -40,4 +42,5 @@ server {
|
||||||
|
|
||||||
include /etc/nginx/conf.d/yunohost_admin.conf.inc;
|
include /etc/nginx/conf.d/yunohost_admin.conf.inc;
|
||||||
include /etc/nginx/conf.d/yunohost_api.conf.inc;
|
include /etc/nginx/conf.d/yunohost_api.conf.inc;
|
||||||
|
include /etc/nginx/conf.d/default.d/*.conf;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue