Skip to content

Commit

Permalink
Tweak webserver configs.
Browse files Browse the repository at this point in the history
  • Loading branch information
gavincarr committed Jul 23, 2012
1 parent 72f839a commit 35fb95f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions conf/apache.conf.dist
@@ -1,6 +1,6 @@
<VirtualHost 1.2.3.4>
DocumentRoot /path/to/root
ServerName example.com
DocumentRoot /PATH/TO/SHRTN/HTDOCS
ServerName EXAMPLE.COM
DefaultType text/html
CustomLog logs/shrtn-access.log combined
CustomLog logs/shrtn.access.log combined
</VirtualHost>
4 changes: 2 additions & 2 deletions conf/nginx.conf.dist
@@ -1,9 +1,9 @@
server {
server_name example.com;
server_name EXAMPLE.COM;
access_log /var/log/nginx/shrtn.access.log;

location / {
root /path/to/root;
root /PATH/TO/SHRTN/HTDOCS;
try_files $uri.html $uri $uri/;
}
}
Expand Down

0 comments on commit 35fb95f

Please sign in to comment.