GithubHelp home page GithubHelp logo

Migrating NPM to Zoraxy about zoraxy HOT 11 CLOSED

lucius100 avatar lucius100 commented on July 30, 2024
Migrating NPM to Zoraxy

from zoraxy.

Comments (11)

Morethanevil avatar Morethanevil commented on July 30, 2024 1

I got time today to write this guide. It should be easy enough and it works, since I tested it today :)

Beginners guide in the wiki

from zoraxy.

tobychui avatar tobychui commented on July 30, 2024 1

@Nazgile94 you actually raised a really good question. I should let Zoraxy automatically inject those header so even the backend proxied server don't have these header, Zoraxy will fix it for you.

Feel free to open a feature request for secure headers, I will work on it later :D

from zoraxy.

tobychui avatar tobychui commented on July 30, 2024

Hi @lucius100
What do you mean by doesn't work? Can you describe more in details what you saw? (e.g. page loaded but css went off? connection reset? timeout trying to access sub1?) Any screenshots of your current settings?

I tried to make Zoraxy as straight forward to use as possible and in theory, if you have questions on a particular function, you shd generally be able to find tips / instruction somewhere nearby. If you have any difficulties in finding a particular function, please open an issue and report it as an UX design enhancement / bug

from zoraxy.

lucius100 avatar lucius100 commented on July 30, 2024

Hi @lucius100 What do you mean by doesn't work? Can you describe more in details what you saw? (e.g. page loaded but css went off? connection reset? timeout trying to access sub1?) Any screenshots of your current settings?

I tried to make Zoraxy as straight forward to use as possible and in theory, if you have questions on a particular function, you shd generally be able to find tips / instruction somewhere nearby. If you have any difficulties in finding a particular function, please open an issue and report it as an UX design enhancement / bug

Doesn't work mean the proxy doesn't work, so access the domain obviously got error and not timeout, etc.
https://prnt.sc/RqRS-NWenH-j
https://prnt.sc/v-zxOFM-vvfh

I also thought zoraxy gonna be straight forward to use as possible and in theory, but in reality doesn't work as I expected, I am not sure if I setup it wrong or not, so I don't dare to say it was a bug,etc since I saw many people get it up and running.

I already point my subdomain to the ip and my domain is using cloudflare NS with orange cloud on / cloudflare proxy.
Maybe this will give you understanding of my setup and why it doesn't work in my case, example, zoraxy not working on cloudflare proxy and must point it directly to ip without hiding behind cloudflare, etc.

from zoraxy.

Morethanevil avatar Morethanevil commented on July 30, 2024

Did you read the guide in the wiki?

Maybe I should write a full guide with pictures 🤔
On saturday I have spare time for this

127.0.0.1, ::1 and localhost are always inside the same container. In the Zoraxycontainer it will always point to back to Zoraxy, in Portainer it will always point to Portainer.

It is only useful if Zoraxy runs directly on the host maschine and points through a portmapping like 9000:9000, the you can use localhost:9000

Inside the same docker network portainer:9000 should work in Zoraxy if Zoraxy runs inside docker too.

from zoraxy.

lucius100 avatar lucius100 commented on July 30, 2024

Did you read the guide in the wiki?

Maybe I should write a full guide with pictures 🤔 On saturday I have spare time for this

127.0.0.1, ::1 and localhost are always inside the same container. In the Zoraxycontainer it will always point to back to Zoraxy, in Portainer it will always point to Portainer.

It is only useful if Zoraxy runs directly on the host maschine and points through a portmapping like 9000:9000, the you can use localhost:9000

Inside the same docker network portainer:9000 should work in Zoraxy if Zoraxy runs inside docker too.

Yes, my zoraxy run inside docker, portainer also in docker, it should work, but in reality , it's not.

from zoraxy.

Morethanevil avatar Morethanevil commented on July 30, 2024

Use docker inspect portainer to get the IP from the portainer container (usally something like 172.20.0.23) and try it. If this works, your docker DNS is not working properly.

But even then you can use static IPs for your container

from zoraxy.

tobychui avatar tobychui commented on July 30, 2024

@Morethanevil Thanks for the follow up!

@lucius100 Ok, so your issue is that you don't know how to use Zoraxy inside your docker setup right?
One thing to keep in mind is that although the docker version of Zoraxy is available, it is generally for users with some degree of networking background. If you are new to networking, picking the non-docker version usually cause less panic and frustration. That is also why the docker version is on the bottom of the list of "Get Zoraxy" in README.

Docker by itself adds a layer of networking between the existing host network and containerized app, it is not quite straight forward (from the containerize app point of view) to automatically check if things working and give you warning about anything doesn't work.

Updates
If you think this is an issue related to the docker file, please let me know so I can handover this issue to our docker maintainer.

from zoraxy.

Nazgile94 avatar Nazgile94 commented on July 30, 2024

as i know, to reach containers trough hostname, the proxymanager needs to be on the same network as the docker container

like if you add docker network "proxy" and add service123 to this network + the proxymanager like npm or zoraxy?
they can communicate trough hostname / docker network

correct me if im wrong, thats how i used NPM -- thinking to switch to zoraxy

but im scared about security bcs npm is well tested etc. and didnt heared anything about zoraxy until today haha

does security headers etc works on zoraxy? on npm strange workarounds are nessesary..

from zoraxy.

Nazgile94 avatar Nazgile94 commented on July 30, 2024

@Nazgile94 you actually raised a really good question. I should let Zoraxy automatically inject those header so even the backend proxied server don't have these header, Zoraxy will fix it for you.

Feel free to open a feature request for secure headers, I will work on it later :D

Maybe you can implement Checkboxes for Users , so they can choose from different Security Headers , enabled by Default .

Turning on and Off

Or some fields for content Security polices etc etc etc .

from zoraxy.

tobychui avatar tobychui commented on July 30, 2024

Closing this as there are no more updates from this author.
For future visitors, check out the wiki page Move to Zoraxy from Nginx Proxy Manager.

from zoraxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.