A modern Docker-Compose config for Etherpad using nginx as reverse proxy
This is the configuration I use to run my etherpad installations behind nginx: docker-compose.yml version: "3.5" services: etherpad: image: etherpad/etherpad:latest environment: - TITLE=My Etherpad -...
View ArticleHow to allow your EtherPad to be included in IFrames using nginx
In our previous post A modern Docker-Compose config for Etherpad using nginx as reverse proxy we showed how to create a simple, reliable Etherpad installation. However, if you want to include Etherpads...
View ArticleHow to replace HTTP response data in nginx using lua
This is an example of how to use body_filter_by_lua_block to replace parts of the response by a string. Note that since it’s a Lua feature, you’ll be able to use arbitrary code when modifying the body,...
View ArticleHow to replace string in reverse proxy HTTP request using Lua & nginx
You can use access_by_lua_block in order to replace arbitrary strings in an nginx request. Note: This will replace in the request to the reverse proxy, not in the response from the reverse proxy. See...
View ArticleHeadscale nginx reverse proxy config
Reverse proxying headscale using nginx is extremly simple. You don’t need any special config. Here is my config with Let’s Encrypt enabled (part of the config is auto-generated using certbot --nginx)....
View ArticleHow to set X-Forwarded-Proto header in nginx
Directly after any proxy_pass line add proxy_set_header X-Forwarded-Proto $scheme; Typically X-Forwarded-Proto is used together with X-Forwarded-Host like this: proxy_set_header X-Forwarded-Host $host;...
View Articlenginx FritzBox webinterface reverse proxy
The following nginx config allows remote access to a local FritzBox over VPN etc. You explicitly need to set the Host header to fritz.box in the proxied request – else, the FritzBox will reject the...
View Article--- Article Not Found! ---
*** *** *** RSSing Note: Article is missing! We don't know where we put it!!. *** ***
View ArticleHow to fix Netbox nginx Invalid HTTP_HOST header: ‘localhost:13031’. You may...
Problem: When trying to operate netbox behind an nginx reverse proxy, you see the following log messages: netbox | Invalid HTTP_HOST header: 'localhost:13031'. You may need to add 'localhost' to...
View ArticleHow to actually turn off nginx logs entirely
If you’re using statements in your nginx config such as access_log off; error_log off; this will not actually turn off the logging. it will just write the logs to /usr/share/nginx/off. In order to...
View Article
More Pages to Explore .....