Howtos/Serving from your home folder on nginx: Difference between revisions

From creative crowd wiki
Jump to navigation Jump to search
(Created page with " location ~ ^/~(.+?)(/.*)?$ { alias /home/$1/public_html$2; index index.html; }")
 
 

Latest revision as of 14:53, 14 February 2025

location ~ ^/~(.+?)(/.*)?$ {
    alias /home/$1/public_html$2;
    index index.html;
}