Nginx, proxy passing to Apache, and SSL
- by Vic
I have Nginx and Apache set up with Nginx proxy-passing everything to Apache except static resources. I have a server set up for port 80 like so:
server {
listen 80;
server_name *.example1.com *.example2.com;
[...]
location ~* \.(?:ico|css|js|gif|jpe?g|png|pdf|te?xt)$ {
access_log off;
expires max;
…