Cleaning up Docker resources
Adding ez build script
This commit is contained in:
@@ -1,57 +0,0 @@
|
||||
user nginx;
|
||||
worker_processes auto;
|
||||
|
||||
error_log /var/log/nginx/error.log notice;
|
||||
pid /var/run/nginx.pid;
|
||||
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
|
||||
http {
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
# This logging is way overkill and not at all permanent
|
||||
# Just for debugging for now
|
||||
log_format main '$host $remote_addr - $remote_user [$time_local] "$request" '
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||
|
||||
access_log /var/log/nginx/access.log main;
|
||||
|
||||
sendfile on;
|
||||
#tcp_nopush on;
|
||||
|
||||
keepalive_timeout 65;
|
||||
gzip on;
|
||||
gzip_min_length 2048;
|
||||
gzip_proxied expired no-cache no-store private auth;
|
||||
gzip_types text/plain text/xml text/javascript application/x-jacascript application/xml;
|
||||
gzip_disable "MSIE [1-6]\.";
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
|
||||
server {
|
||||
server_name "shockrah.xyz";
|
||||
|
||||
root /var/www/shockrah.xyz;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
}
|
||||
server {
|
||||
server_name "resume.shockrah.xyz";
|
||||
|
||||
root /var/www/resume.shockrah.xyz;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user