Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - JAYC

Pages: [1]
1
Information / Re: Did You make CWP update today ?
« on: December 01, 2017, 09:36:12 AM »
Same here.

- None of the users can login (Can't load anything on port 2082 or 2083)
- The url to the user login panel is wrong when using NAT It uses the private IP.


CWP7Pro user here.


2
CentOS-WebPanel Bugs / Re: nginx startup error with 443 port
« on: December 01, 2017, 09:27:39 AM »
Yes I needed to switch to Apache only and then switch to apache + nginx
But there is a problem with htaccess right now.
I check in apache htaccess is connection is https if not - redirect to https
With nginx enabled I get redirect over and over

Here's a solution for that.
http://forum.centos-webpanel.com/centos-webpanel-bugs/nginx-apache-or-nginx-varnish-apache-issue/

3
Oh and don't forget to restart nginx after making this change.

4
At least it's working for you. I can't even get it to work on my end.  :-\

5
For anyone having an issue with proxy setup here is a solution for instance where apache isn't detecting that nginx received the request over ssl. It's happening because nginx isn't forwarding the protocol header so apache always things that the request is coming over http.

This affects both (nginx > apache) or (nginx > varnish > apache)

Add following line to /etc/nginx/proxy.inc


proxy_set_header X-Forwarded-Proto $scheme;

6
Changing the hostname doesn't work in all cases.

i.e.

On first attempt it tried to generate a certificate but error message said that the the validation failed.
Now, it just keeps generating self signed certificate.  ???

Pages: [1]