Initial commit

This commit is contained in:
Fergal Moran
2019-02-06 00:23:20 +00:00
parent 0ed4928d84
commit 2e1eb0b4af
33 changed files with 778 additions and 331 deletions

36
nginx/conf.d Normal file
View File

@@ -0,0 +1,36 @@
worker_processes 1;
events {
worker_connections 1024;
}
http {
server {
listen 80;
server_name retns.fergl.ie;
return 301 http://retns.fergl.ie$request_uri;
}
server {
listen 80;
server_name retns.fergl.ie;
root /usr/share/nginx/html;
index index.html index.htm;
include /etc/nginx/mime.types;
add_header X-Frame-Options SAMEORIGIN;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload";
gzip on;
gzip_min_length 1000;
gzip_proxied expired no-cache no-store private auth;
gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript;
location / {
try_files $uri $uri/ /index.html;
}
}
}