• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Web interface without port

Status
Not open for further replies.

majussiani

Donor
is awesome!
how do access web interface without port setting dns in cloudflare?

ex.
mydomain.com:8087 to music.mydomain.com

ty
 

Xuxe

Containerholic
Staff member
is awesome!
V.I.P.
Contributor
Insider
Here is a config for NginX:

Code:
server {

    listen 80;

    server_name music.domain.com;

    access_log  /var/log/nginx/bot_access.log;
    error_log   /var/log/nginx/bot_error.log;

    client_max_body_size 256m; #needed for file uploads


    location / {



        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_pass http://127.0.0.1:8087;

    }


}
 

neskire

New Member
Here is a config for NginX:

Code:
server {

    listen 80;

    server_name music.domain.com;

    access_log  /var/log/nginx/bot_access.log;
    error_log   /var/log/nginx/bot_error.log;

    client_max_body_size 256m; #needed for file uploads


    location / {



        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_pass http://127.0.0.1:8087;

    }


}

Many thanks!
I tried making this work by my self, eh, failed. Been meaning to get back to it for months and months, and finally did.
Et Voila, you solved it perfectly. Thanks
 
Status
Not open for further replies.
Top