Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odoo 15 With Swag Reverse proxy #454

Open
wipzcream opened this issue Jun 11, 2023 · 1 comment
Open

Odoo 15 With Swag Reverse proxy #454

wipzcream opened this issue Jun 11, 2023 · 1 comment

Comments

@wipzcream
Copy link

I'm very new with docker

I use Unraid os and install odoo from apps and I want to access odoo from outside please help how to config it

OS: Unraid
Reverse Proxy: Swag
WAF: Cloudflare

Best Regards

@wipzcream wipzcream changed the title Odoo 15 With Swag Revers proxy Odoo 15 With Swag Reverse proxy Jun 12, 2023
@wipzcream
Copy link
Author

right now I can access it from outside but when I log in it shows nothing

this is my reverse proxy config

server {
listen 443 ssl;
listen [::]:443 ssl;

server_name odoo.*;

include /config/nginx/ssl.conf;

client_max_body_size 0;

# enable for ldap auth, fill in ldap details in ldap.conf
#include /config/nginx/ldap.conf;

# enable for Authelia
#include /config/nginx/authelia-server.conf;

location / {
    # enable the next two lines for http auth
    #auth_basic "Restricted";
    #auth_basic_user_file /config/nginx/.htpasswd;

    # enable the next two lines for ldap auth
    #auth_request /auth;
    #error_page 401 =200 /ldaplogin;

    # enable for Authelia
    #include /config/nginx/authelia-location.conf;

    include /config/nginx/proxy.conf;
    resolver 127.0.0.11 valid=30s;
    set $upstream_app 192.168.1.6;
    set $upstream_port 8069;
    set $upstream_proto http;
    proxy_pass $upstream_proto://$upstream_app:$upstream_port;

}

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant