diff --git a/01---Install.md b/01---Install.md index 3bc7787..09da5d3 100644 --- a/01---Install.md +++ b/01---Install.md @@ -10,11 +10,27 @@ Also it is strongly recommened to set up a ssl certificate to protect yourself i Yup. That's it. +Reverse Proxy for NGINX +``` +server { + listen 80; + server_name yourcoolassdomain.org + + location / { + proxy_set_header X-Forwarded-For $remote_addr; + proxy_set_header Host $http_host; + proxy_pass http://127.0.0.1:2314; + } +} +``` + +Reverse Proxy for Apache ``` ServerName yourcoolassdomain.org ProxyPreserveHost On - ProxyPass "/" "https://127.0.0.1:2314/" - ProxyPassReverse "/" "https://127.0.0.1:2314" + ProxyPass "/" "http://127.0.0.1:2314/" + ProxyPassReverse "/" "http://127.0.0.1:2314" -``` \ No newline at end of file +``` +