0
votes
0answers
41 views

modify html response content on the fly with nginx

okay this seems like a weird request, but i hope you can help me anyway. I manage a root server where nginx is running (version 1.5). Now i provide webspace to my mother. My mother have someone who ...
0
votes
0answers
27 views

nginx - rewrite .html to .php

I want to redirect only .html files to /index.php but for some reason everything is being redirected to index.php. What am I doing wrong? location ~ \.html$ { rewrite ^.*$ /index.php; ...
0
votes
1answer
105 views

Nginx to act as both a webserver and for file transfer

I would like to use Nginx as a webserver on my Ubuntu 12.04 server, but i would also like to use it for file transfers. I have been able to set it up as a webserver (very simple), and I have been ...
-3
votes
1answer
172 views

Magento Using https:// for all links in source

So today I was trying to install a fresh instance of Magento v1.7.0 on my vps which is running nginx. Once I uploaded the clean install to public_html I unzipped it and entered my ip to run the ...
0
votes
1answer
351 views

Is html or php header needed for gzip?

I use gzip module of nginx to compress documents. When gzip is enabled nginx will automatically send content-ending of gzip with HTTP headers, right? Without adding any PHP header header() or HTML ...
2
votes
4answers
989 views

Building a High Performance Static Website

I'm looking to build a High Performance website. It has thousands of static HTML pages, that are specifically rendered depending on a form submit. I have a ruby script that generates these static HTML ...
15
votes
4answers
3k views

Apache or NGINX for PHP?

I've read quite a bit on the major benefits to running NGINX over Apache for serving static files. However, I have never seen an article talking about Apache vs NGINX for serving PHP pages. Question: ...