1
0
Fork 0
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:
Thomas LEBEAU 2014-06-16 07:04:39 +02:00
parent c64eb50c11
commit 2b1ccb6d6e

View file

@ -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;