Created
September 29, 2016 13:44
-
-
Save kanibaspinar/70afe42ffd6d3f5ca14794406ec169f0 to your computer and use it in GitHub Desktop.
Cpanel Services Stable With Nginx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Cpanel Servislerinin rahat calısması için# | |
location ~* ^/(controlpanel|cpanel|kpanel|securecontrolpanel|securecpanel|securewhm|webmail|whm|bandwidth|img-sys|java-sys|mailman/archives|pipermail|sys_cpanel|cgi-sys|mailman) { | |
proxy_pass http://server-ip:9999; | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
} | |
#KBSP Cpanel Servislerinin rahat çalışması için# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment