Comments (6)
Your request comes from the internet to your hostmachine and then in the docker container. 127.0.0.1, localhost points INSIDE the container., because Zoraxy runs inside the container. This is not a bug, this is normal. Your setup would work if it were not a container then localhost, 127.0.0.1 would be your host machine.
This is why it works with your public IP and port
from zoraxy.
You can set a static IP for Zoraxy. This works too. Then you can use the static IP of Zoraxy and the port inside the container. You can find a little guide in the wiki
Thanks for your answers, I made a mistake
from zoraxy.
@allmors This is expected behavior when deploy inside docker. The solution is reverse proxy through the public ip address of your instance (assuming it is directly exposed to the internet with a public IP address). Good to see that you have already figure out the solution yourself!
If your problem have been resolved and you got no further questions, please close this issue.
from zoraxy.
@allmors This is expected behavior when deploy inside docker. The solution is reverse proxy through the public ip address of your instance (assuming it is directly exposed to the internet with a public IP address). Good to see that you have already figure out the solution yourself!
If your problem have been resolved and you got no further questions, please close this issue.
Well, I thought it would be like nginx proxy manager. Even if it is a container deployment, it can still use the host's loopback address.
If it is normal through the public network, then the port must be exposed, which feels a bit redundant.
from zoraxy.
You can set a static IP for Zoraxy. This works too. Then you can use the static IP of Zoraxy and the port inside the container. You can find a little guide in the wiki
from zoraxy.
You can set a static IP for Zoraxy. This works too. Then you can use the static IP of Zoraxy and the port inside the container. You can find a little guide in the wiki
I forgot that the docker container has a network card docker0, because all projects are deployed by docker, I should not use 127.0.0.1, but the loopback address of docker0, such as 172.17.0.1
If possible, you can refer to nginx proxy manger, which supports local host loopback address.
from zoraxy.
Related Issues (20)
- [BUG] CSRF Vulnerability HOT 1
- [HELP] DESEC_PROPAGATION_TIMEOUT environment variable ignored ? HOT 2
- [BUG] TLS handshake errors in docker log for proxy hosts HOT 6
- [BUG] GeoIP blocks unkown IP - why are there unknown IPs ? HOT 4
- [BUG] Problem generating wilcard certificates with gandi HOT 6
- [BUG] Path Traversal Vulnerability with Static Web Server HOT 6
- [BUG] zoraxy do not start without ipv6 HOT 1
- Love your product HOT 1
- [ENHANCEMENTS] Regional Challenge Page HOT 5
- [BUG] Websocket not working with Audiobookshelf HOT 2
- [ENHANCEMENTS] Support HTTPS in management interface HOT 1
- [BUG] no Subject Alternative Names in auto renew certificat HOT 2
- [Misinformation] Wrong Country name. HOT 4
- [BUG] Time limit exceeded: last error: NS vasilii.ns.cloudflare.com. returned REFUSED for _acme-challenge.mydomain.com HOT 1
- [BUG] upstream timeout - context deadline exceeded (Client.Timeout exceeded while awaiting headers) HOT 2
- [ENHANCEMENTS] Add filter in Log viewer HOT 1
- [HELP] Failed to build from source HOT 4
- [ENHANCEMENTS] Graph improvements
- [ENHANCEMENTS] Default to reading from file if empty string is passed in `-ztauth` HOT 2
- [BUG] Creating SAN wildcard cert with zerossl fails HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zoraxy.