reverse-proxy

Wordpress inside docker container behind nginx proxy with ssl

百般思念 提交于 2020-01-13 05:34:07
问题 I alm facing a problem on my server configuration, and I can't figure out what am I doing wrong. So I have a nginx proxy like this : server { listen *:443 ssl; ssl_certificate /root/software/keys/mywebsite.keys/mywebsite.crt; ssl_certificate_key /root/software/keys/mywebsite.keys/mywebsite.key; server_name www.mywebsite.com mywebsite.com; access_log /var/log/nginx/mywebsite.access.log; error_log /var/log/nginx/mywebsite.error.log; root /srv/new-website; index index.html index.htm index.php;

Reverse proxy with websocket mod_proxy_wstunnel

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-10 18:45:54
问题 I have a problem with the web sockets and my reverse proxy Apache, I have upgraded in latest release 2.4.5 and loaded the module mod_proxy_wstunnel . The httpd.conf : <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName www.toto.fr ServerAlias toto.fr ProxyPass /my_app http://1X.X.X.1:8080/my_app ProxyPassReverse /web_pmr http://1X.X.X.1:8080/my_app ProxyPassReverseCookiePath /my_app / ProxyPassReverseCookieDomain localhost my_app ProxyRequests off ProxyTimeout 15 #WEBSOCKETS

Reverse proxy with websocket mod_proxy_wstunnel

▼魔方 西西 提交于 2020-01-10 18:44:18
问题 I have a problem with the web sockets and my reverse proxy Apache, I have upgraded in latest release 2.4.5 and loaded the module mod_proxy_wstunnel . The httpd.conf : <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName www.toto.fr ServerAlias toto.fr ProxyPass /my_app http://1X.X.X.1:8080/my_app ProxyPassReverse /web_pmr http://1X.X.X.1:8080/my_app ProxyPassReverseCookiePath /my_app / ProxyPassReverseCookieDomain localhost my_app ProxyRequests off ProxyTimeout 15 #WEBSOCKETS

Apache Proxying leads to ERR_CONTENT_DECODING_FAILED error

*爱你&永不变心* 提交于 2020-01-10 04:06:48
问题 I'm trying to configure a reverse proxy from Apache web server (A) to another Apache web server on different machine (B). With configuration I'm currently using I'm able to access web page located on server B as if it were on server A, however requests for some assets constantly result in ERR_CONTENT_DECODING_FAILED (at least in chrome). This doesn't happen when I'm using simple redirection instead of proxying. I have browsed through request and response headers and it seems that everything

https getting converted to http

送分小仙女□ 提交于 2020-01-06 14:12:56
问题 I am using Microsoft IIS to proxy requests for WebLogic server. I've enabled https on IIS. [http://webserver gives error that 'page must be viewed on https' and https://webserver gives content of Default.htm file] I've enabled https on WebLogic Server. [http://weblogic:7001/myapp/test.jsp and https://weblogic:7002/myapp/test.jsp both works] Communication b/w IIS and WebLogic Server is on https. The issue is when I access application on https using webserver URL (https://webserver/myapp/test

https getting converted to http

杀马特。学长 韩版系。学妹 提交于 2020-01-06 14:09:44
问题 I am using Microsoft IIS to proxy requests for WebLogic server. I've enabled https on IIS. [http://webserver gives error that 'page must be viewed on https' and https://webserver gives content of Default.htm file] I've enabled https on WebLogic Server. [http://weblogic:7001/myapp/test.jsp and https://weblogic:7002/myapp/test.jsp both works] Communication b/w IIS and WebLogic Server is on https. The issue is when I access application on https using webserver URL (https://webserver/myapp/test

How to configure NginX to serve Cached Content only when Backend is down (5xx Resp. Codes)?

牧云@^-^@ 提交于 2020-01-03 08:45:12
问题 I've configured my system with NginX listening on port 80, serving static content and proxying dynamic requests to a backend server. I can configure NginX to cache content generated by the backend, but I want this cached content be served only when the Backend responds with an error http 5xx , or when it's totally down. We tried the proxy_cache_use_stale option with max-age of 1 second, it worked but it has one negative side.. which is simply dozens of requests being served from cache during

Getting Nginx to point to a specific index.html page outside of /var/www/

可紊 提交于 2020-01-03 05:37:19
问题 I'm trying to get nginx to point to my index.html page along with imgs, CSS, JS, etc. that lies in a GoPATH, which is outside of /var/www/. My overall objective is to allow my website to run on port 80 and not 8080. Is it possible to do this? Below is what I currently have in the nginx.conf. user www-data; http { include /etc/nginx/proxy.conf; index index.html } server { # simple reverse-proxy listen 80; server_name dtrinh.com www.dtrinh.com; access_log logs/dtrinh.access.log main; # serve

Apache Reverse Proxy https to http

家住魔仙堡 提交于 2020-01-02 09:58:36
问题 I've done a fair amount of browsing on here and the Internet but I can't configure my apache to reverse proxy https to http. I feel like I'm close however. All the examples I've followed seem to work for everyone except me and my setup is very simple. <VirtualHost *:443> ServerName myserver SSLEngine On SSLCertificateFile /path/to/file SSLCertificateKeyFile /path/to/file SSLCertificateChainFile /path/to/file ProxyRequests Off ProxyPreserveHost On <Proxy *> AddDefaultCharset Off Order deny

How to configure GWAN as a reverse proxy?

↘锁芯ラ 提交于 2020-01-02 07:01:18
问题 I saw some performance of GWAN and interested in testing it as a reverse proxy of static content in front of Apache with APC for optimizing PHP opcode, to run a Wordpress multisite. I can get GWAN up and running but I have no idea how to configure it for reverse proxy, as there seems to be almost no information on it. Anyone use GWAN as a reverse proxy? 回答1: It's still a not documented feature ... maybe in a next release ? @gil ? 回答2: Right now there's no easy way for you to do that. That