Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (26 sloc) 1.043 kb
# Wave Framework <http://www.waveframework.com>
# Nginx Configuration
#
# Nginx commands are stored in this file. This file is never automatically loaded by Nginx and
# commands and configuration from this file should be set to Nginx server configuration. These
# commands redirect all HTTP requests, except those to /static/ folders and those that are PHP
# files itself, to Index Gateway stored in /index.php. These commands and Wave Framework itself
# only work when URL rewriting is supported.
#
# @package Index Gateway
# @author Kristo Vaher <kristo@waher.net>
# @copyright Copyright (c) 2012, Kristo Vaher
# @license GNU Lesser General Public License Version 3
# @tutorial /doc/pages/rewrites.htm
# @since 2.0.0
# @version 3.1.4
server
{
# Make sure to set this as your actual server WWW root
# This directory depends on nginx directory
root /var/www/example.com/html;
# Index file
index index.php;
# Checks first if file exists if not redirect it to index.php
try_files $uri $uri/ /index.php;
}
Jump to Line
Something went wrong with that request. Please try again.