mirror of
https://github.com/YunoHost-Apps/yourls_ynh.git
synced 2024-09-03 20:35:59 +02:00
update nginx conf
This commit is contained in:
parent
c64eb50c11
commit
2b1ccb6d6e
1 changed files with 2 additions and 1 deletions
|
@ -1,11 +1,12 @@
|
|||
location PATHTOCHANGE {
|
||||
alias ALIASTOCHANGE;
|
||||
proxy_pass http://DOMAINNAMEPATHTOCHANGE/admin;
|
||||
|
||||
if ($scheme = http) {
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
|
||||
rewrite ^ http://DOMAINNAMEPATHTOCHANGE/admin/ redirect;
|
||||
|
||||
index index.php index.html index.htm;
|
||||
default_type text/html;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue