nginx.conf 171 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
location PATHTOCHANGE/ {
    alias ALIASTOCHANGE;

    if ($scheme = http) {
        rewrite ^ https://$server_name$request_uri? permanent;
    }

    index index.html;
}