Closed kromonos closed 3 hours ago
Describe the bug Upstream not reachable, but error page only 404
To Reproduce Download the templates and follow the instructions from README
Expected behavior Displaying the error pages from the templates folder Also found something on Reddit, but that seemed not to be the solution.
Screenshots
Systemd service file:
[Unit] Description=Zoraxy Reverse Proxy Server After=network-online.target Wants=network-online.target [Service] Type=simple User=root Group=root WorkingDirectory=/opt/zoraxy ExecStart=/opt/zoraxy/start.sh StandardOutput=syslog StandardError=syslog SyslogIdentifier=zoraxy [Install] WantedBy=multi-user.target
start.sh:
#!/bin/bash export PDNS_API_URL='http://xxxxxxxxx/' export PDNS_SERVER_NAME='localhost' export PDNS_API_KEY='xxxxxxxx' export PDNS_API_VERSION=1 /usr/local/bin/zoraxy/zoraxy -port=192.168.0.1:8000 -fastgeoip
Browser (if it is a bug appears on the UI section of the system):
Host Environment (please complete the following information):
Additional context
EDIT blacklist.html and whitelist.html seem to work. Only the notfound.html seems to be unused?
blacklist.html
whitelist.html
notfound.html
OK, found my mistake. I downloaded the src/web folder and copied it to /opt/zoraxy/web. Then I have these fancy messages too:
/opt/zoraxy/web
Maybe one should add this to the manual :)
Describe the bug Upstream not reachable, but error page only 404
To Reproduce Download the templates and follow the instructions from README
Expected behavior Displaying the error pages from the templates folder Also found something on Reddit, but that seemed not to be the solution.
Screenshots
Systemd service file:
start.sh:
Browser (if it is a bug appears on the UI section of the system):
Host Environment (please complete the following information):
Additional context
EDIT
blacklist.html
andwhitelist.html
seem to work. Only thenotfound.html
seems to be unused?