Problem with proxy

sucre13

Moderator
Staff member
Moderator
Collaborate
Registered
Joined
Jan 19, 2019
Messages
836
Points
153

Reputation:

which panel to use to run xenforo
 

sucre13

Moderator
Staff member
Moderator
Collaborate
Registered
Joined
Jan 19, 2019
Messages
836
Points
153

Reputation:

@outplayed use ConfigServer Security & Firewall to protect your vps vestacp has that option although I use directmin
 

outplayed

Moderator
Moderator
Collaborate
Registered
Joined
Oct 27, 2019
Messages
151
Points
63

Reputation:

I was checking the config and due im using VestaCP i have Nginx and Apache both
 

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,121
Points
823

Reputation:

sucre13

Moderator
Staff member
Moderator
Collaborate
Registered
Joined
Jan 19, 2019
Messages
836
Points
153

Reputation:

then use centos web panel
 

boo

Well-known member
Registered
Joined
Aug 29, 2019
Messages
54
Points
28

Reputation:

If your using apache and nginx together you need to find the proxy_pass in nginx default and add:

Code:
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
 

outplayed

Moderator
Moderator
Collaborate
Registered
Joined
Oct 27, 2019
Messages
151
Points
63

Reputation:

I saw that i cant remember where now, but the thing is, where should i add it ?
 

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,066
Points
173

Reputation:

you OS ?
 

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,066
Points
173

Reputation:

@outplayed
you have to run (in console, as root) :
/usr/local/vesta/upd/switch_rpath.sh
for disable nginx proxy.
 

outplayed

Moderator
Moderator
Collaborate
Registered
Joined
Oct 27, 2019
Messages
151
Points
63

Reputation:

Attachments

  • Capture.PNG
    Capture.PNG
    2.6 KB · Views: 88

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,066
Points
173

Reputation:

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,066
Points
173

Reputation:

Top