Collection of web proxies with configuration examples for Yggdrasil
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ghost 7d73993029 highlight project link 9 months ago
..
README.md add mentallandscape.com 9 months ago
location.conf highlight project link 9 months ago
server.conf add mentallandscape.com 9 months ago

README.md

Nginx proxy configuration for /yggbro/mentallandscape.com subfolder location

Current implementation drops all JS and forward links to following locations:

  • mentallandscape.com > /yggbro/mentallandscape.com

Install

This is subfolder configuration, use server.conf preset only when default_server not defined in your system:

  • ln -s /etc/yggbro/nginx/mentallandscape.com/yggbro/mentallandscape.com/server.conf /etc/nginx/sites-enabled/yggbro.mentallandscape.com.yggbro.mentallandscape.com.conf

Alternatively, add following line to existing default_server:

include /etc/yggbro/nginx/mentallandscape.com/yggbro/mentallandscape.com/location.conf;

Test configuration and apply changes

  • nginx -t
  • service nginx reload

Uninstall

Remove symlink if exists:

  • rm /etc/nginx/sites-enabled/yggbro.mentallandscape.com.yggbro.mentallandscape.com.conf

Remove following line from existing default_server:

include /etc/yggbro/nginx/mentallandscape.com/yggbro/mentallandscape.com/location.conf;

Test configuration and apply changes

  • nginx -t
  • service nginx reload