Added server goodies
This commit is contained in:
parent
002f3dd67f
commit
993160a64a
4 changed files with 89 additions and 0 deletions
21
server/nginx.conf
Normal file
21
server/nginx.conf
Normal file
|
@ -0,0 +1,21 @@
|
|||
server {
|
||||
listen *:80;
|
||||
server_name www.fmartingr.com;
|
||||
return 301 http://fmartingr.com$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen *:80;
|
||||
server_name fmartingr.com;
|
||||
server_tokens off;
|
||||
|
||||
client_max_body_size 1M;
|
||||
|
||||
access_log /var/log/fmartingr.com/nginx-access.log;
|
||||
error_log /var/log/fmartingr.com/nginx-error.log;
|
||||
|
||||
location / {
|
||||
alias /var/www/fmartingr.com/html/;
|
||||
autoindex off;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue