x3inspire
So can you log in when not enabled?
reverse proxy
aaPanel_Kern
yes, after disable the cache i can login.
x3inspire
What error message is there when I log in after enabling the cache? Check logs and error logs
Cache these files after opening the cache gif|png|jpg|css|js|woff|woff2
You can modify the Conf to remove the affected files
aaPanel_Kern
The log error i should check on proxy server or main server?
x3inspire
need to check
Hi, i think i manage to make the reverse proxy working... i test it by typing the server B's domain(i use my direct ip) and it directs me to server A website, but the url changes to server A's domain. how to be able to show the server A content while the url still from the server B's domain?
Considering you're talking about reverse proxy and not redirect, you should be able to fine tune any detail about it. Maybe try to indicate the domain you want to display in the address bar in the headers, like this, beside the proxy_pass directive:
proxy_set_header Host server_b_domain;
hilord Hi, thanks for your suggestion, I tried this using different site with a domain name instead as the server B's domain name. but the url, still changes to server A's domain.
aaP_fallingrais but i'm curious... Why if i use https instead of http in the target url, it gives me 502 bad gateway.
- Edited
aaP_fallingrais Hmmm, did you well restart the web server service (nginx or apache?) after the modification in conf? Did you test the validity of the overall config (e.g. "nginx -t") with success?
About the 502 Bad Gateway, it says that the proxy received an invalid response from the upstream server... It could be because there's no valid certificate at a point, because the target server doesn't listen to the port 443 on the right IP, because there's too many redirections (e.g. sometimes when the proxy sends the wrong scheme in headers* and final server is trying to force SSL while it's already there)... Well, first, maybe you should look at both server logs.
*proxy_set_header X-Forwarded-Proto http;
- Edited
i have installed fresh AA panel , and apache nothing other software,
i am testing for reversproxy setup. But on my side, showing only these option , not full like discussion on this topic,
any body help to compelete my proxy setup
After that i put detail in these option then , redirect my website on this url : (https://domain.com/cgi-sys/defaultwebpage.cgi)
not opening my site content data, from Server B , I think request going on server B but not proper root, Server A installed AA panel , and server B installed WHM. why showing this error, any body help me?
Hello, apache only supports these functions
Hello friends, I am trying to use my website with port 8080 but it always gives me the error that the port range is wrong
Hello, it is recommended that you use other ports. This problem is used by tomcat by default.
aaPanel_Jose
hello can you explain I have followed the instructions in this image but my web proxy displays the default aapanel page
Hello, please check the IP of the proxied server and whether the site is added on the proxied server?
- Edited
Hi Brother!
I have set it up as follows:
Step 1: Server A (192.168.10.145) install aapanel. Create example.com website in server A
Step 2: Server B (192.168.10.206) install aapanel, too and create an empty site on server B using domain example.com
Step 3: On server B add a reverse proxy
- Target URL: http://192.168.10.145 (server A ip)
- Sent Domain: example.com on server A domain name
However, when access domain example.com redirect to Unbound domain page on server B (192.168.10.145)
Why do not show content example.com?
Please help me. Thank so much!