Welcome! Log In Create A New Profile


Re: nginx.conf questions

February 28, 2011 11:23AM
Just skip the "server_name example.com;" bit.

You don't need the rewrite server for IP address based server.

server {
listen 80;
root /path/to/your/document/root/;

access_log /path/to/where/you/want/to/keep/your/access.log;
error_log //path/to/where/you/want/to/keep/your/error.log;

location /example/ {
index index.html;

location / {
index index.html;

Subject Author Posted

nginx.conf questions

equinox February 27, 2011 11:54PM

Re: nginx.conf questions

Dayo February 28, 2011 11:23AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 304
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready