Tag Info

New answers tagged

0

Yes this is a widely used feature of nginx.


0

The proxy_params file is not included in the configuration by some sort of default include like I assumed. I've corrected the problem by adding include /etc/nginx/proxy_params to each of my locations using proxy_pass. That "proxy_set_header Host $http_host;" thing is critical. I'd welcome a cleaner solution if anyone has one that allows me to set those in ...


0

Most applications I've seen that support being behind a load balancer or reverse proxy have a setting such as "base URL" that you can set to the front end's URL. This allows the application to create the proper hyperlinks in itself and things like mail notifications.


1

I think the configuration options you require are: proxy_cache_use_stale updating; proxy_cache_lock on; This serves out of date elements from cache, and issuing updates from backend. So when your backend servers a page after 2 seconds, the client already got the old ressource from cache. The second locks one element from cache, while already a ...


1

You are actually redirecting the client to a different server. Assuming you configured DNS to point to server1, you want to mask the presence of server2. To do this configure apache as a reverse proxy and proxy /forum requests to server2. You do not need to configure SSL on server2.


1

What is your public facing edge router? Based on the port request you can forward to the proper server. You will need to detect host header to know which website to point to in the case of 80 and 443. URL rewrite I would only use on the same server and not to redirect to a separate server. Under your desired approach you would forwarding to a windows ...


1

Easiest way would be to add: Redirect permanent /forum http://otherserver to your apache vhost config, or to add: RewriteRule ^/forum(.*)$ http://otherserver/$1 [R=301,NC,L] to your .htaccess.


0

Try somthing like that: upstream teach_backend { server application.impactteachers.com:8080 fail_timeout=2s; keepalive 32; } server { listen 80; server_name your_server_name.com; location /teach { proxy_http_version 1.1; proxy_set_header Connection ""; proxy_set_header X-Forwarded-Host $host; ...


0

I had based my Apache configuration file on the example that Red Hat provided. I included the command Include conf.modules.d/00-base.conf as I thought leaving out any base modules would lead to Bad Things. But the Red Hat supplied conf.modules.d/00-base.conf files loads numerous modules, few of which are required for a reverse proxy. In particular, it ...


0

I think your friend might be on to something with the webappctl path. But let's start from Apache: when using OS X Server, Apache pulls its configuration from /Library/Server/Web/Config/apache2. That directory contains a file ReadMe.txt, which says in part: sites/ This directory contains a file for each enabled virtual host configured for Websites ...


2

I believe your openssl version is the problem. The openssl group recommends version 1.01j minimum. Also, check your cipher. Isn't there supposed to be a colon before !RC4?


0

You can use following way to make a reverse proxy: 1. Install mod_proxy_html yum install mod_proxy_html Load mod_proxy_html module LoadModule proxy_html_module modules/mod_proxy_html.so And use following setting ProxyRequests off ProxyPass /folder/ http://test.madeupurl.com ProxyHTMLURLMap http://test.madeupurl.com /folder ...


1

There is document on how nginx processes request. In particular that means if you have only one server block then all requests will end up there regardless off Host header. In your case you want to process only requests that match your hosts and ignore others. So you have to declare another server block that will process all unmatched requests. This should ...


0

You can have weblogic use just TLS and termincate SSLv3/2 connections. Check this post "Weblogic Mitigate POODLE vulnerability after upgrade and still use CBC ciphers". He suggests upgrading java to 7u75 or using -Dweblogic.security.SSL.protocolVersion= Check this page for SSL weblogic, you will find it helpful ...


2

Change Host header from proxy_set_header Host $http_host; to proxy_set_header Host remote.example.com; Looks like I misinterpreted your sentences about document base. I thought it was a protection from java applet server so, it can't be downloaded unless we change the Host header. Apparently, document base that you ...


0

The following Apache configuration resolves the issue: ServerName domain.com ProxyRequests off ProxyPass /myapp http://localhost:8899/exist/apps/myapp ProxyPassReverse /myapp http://localhost:8899/exist/apps/myapp ProxyPassReverseCookiePath /exist / It changes the path from /exist to / in cookies so the session is properly mapped to ...



Top 50 recent answers are included