Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
5780 Visualizzazioni

Using nginx as reverse proxy , i had set default "web" port to non standard 8666 , to prevent annoying attacker bots.

But it is casing base url redirection to fail.


What should i do .

Avatar
Abbandona
Risposta migliore

The purpose of a reverse proxy is to shield your web applications and not to change ports. You allow access on port 80 and forward it to your internal IP and port. Most commonly, you use a reverse proxy to forward incoming requests like www.example.com to an internal IP and port and at the same time it is very much recommended to encrypt the traffic using for example Let's Encrypt certificates.

Please make yourself familiar with reverse proxies (https://en.wikipedia.org/wiki/Reverse_proxy) and study the numerous examples available on how to set up a proxy server for Odoo, such as https://linuxize.com/post/configure-odoo-with-nginx-as-a-reverse-proxy/.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
mag 24
3090
4
mag 24
9191
4
dic 22
379
2
ago 24
2311