• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Resolved thelounge, reverse proxy

UweP

Regular Pleskian
Hi. I'm trying to set up thelounge, a web irc client on my server. i have it running and i can connect to mydomain:port to see the interface. i now wanna proxy it so it supports https etc.. what im tryin to do is the following on the nginx additional directives ont he vhost chat.mydomain.tld. but it doesnt seem to wanna work:

l
Code:
location / {
    proxy_pass http://127.0.0.1:9000/;
    proxy_http_version 1.1;
    proxy_set_header Connection "upgrade";
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header X-Forwarded-For $remote_addr;

    # by default nginx times out connections in one minute
    proxy_read_timeout 1d;
}

can someone help me and tell me, what i should set location to or how i could set these reverse proxy thins? it says / is already used or something. Thank you!!! :)

It says:
Invalid nginx configuration: nginx: [emerg] duplicate location "/" in /var/www/vhosts/system/chat.freakyness.de/conf/vhost_nginx.conf:1 nginx: configuration file /etc/nginx/nginx.conf test failed
 
Last edited:
well ive done it usin their apache vhost config, replacing /irc/ by / and disabling php etc. for that subdomain. thanks :D
 
Back
Top