diff --git a/nginx/mentallandscape.com/yggbro/mentallandscape.com/location.conf b/nginx/mentallandscape.com/yggbro/mentallandscape.com/location.conf index 819bfb2..17cbc58 100644 --- a/nginx/mentallandscape.com/yggbro/mentallandscape.com/location.conf +++ b/nginx/mentallandscape.com/yggbro/mentallandscape.com/location.conf @@ -1,4 +1,4 @@ -location /yggbro/mentallandscape.com { +location /yggbro/mentallandscape.com/ { # Forward to server proxy_pass http://mentallandscape.com/; @@ -15,12 +15,15 @@ location /yggbro/mentallandscape.com { sub_filter 'https://mentallandscape.com' 'http://[$server_addr]/yggbro/mentallandscape.com'; sub_filter '' ' -->'; - sub_filter 'href="/support/"' 'href="https://mentallandscape.com/p/support"'; + sub_filter 'href="/' 'href="http://[$server_addr]/yggbro/mentallandscape.com/'; sub_filter 'src="/' 'src="http://[$server_addr]/yggbro/mentallandscape.com/'; sub_filter 'data-src="/' 'src="http://[$server_addr]/yggbro/mentallandscape.com/'; sub_filter "url('/" "url('http://[$server_addr]/yggbro/mentallandscape.com/"; + sub_filter "" ''; + sub_filter "" ''; + # Feedback link to project repository sub_filter '' 'YGGbro'; } \ No newline at end of file