This commit is contained in:
parent
fb5a3b8093
commit
58d8b661a8
1055 changed files with 116254 additions and 89 deletions
23
sites/reviews/deploy/blog-locations.conf
Normal file
23
sites/reviews/deploy/blog-locations.conf
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
index index.html;
|
||||
|
||||
access_log /var/log/nginx/access.log;
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
|
||||
location = /nginx-health {
|
||||
access_log off;
|
||||
return 204;
|
||||
}
|
||||
|
||||
location ^~ /dist/ {
|
||||
rewrite ^/dist/[^/]+/?(.*)$ /$1 last;
|
||||
}
|
||||
|
||||
location ~* \.(?:css|js|mjs|png|jpg|jpeg|gif|svg|webp|ico|woff2?)$ {
|
||||
try_files $uri =404;
|
||||
expires 1y;
|
||||
add_header Cache-Control "public, immutable";
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/index.html /index.html /404.html;
|
||||
}
|
||||
48
sites/reviews/deploy/nginx.conf
Normal file
48
sites/reviews/deploy/nginx.conf
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
server {
|
||||
listen 80 default_server;
|
||||
server_name research.neeldhara.blog research.neeldhara.email _;
|
||||
root /usr/share/nginx/html;
|
||||
include /etc/nginx/snippets/blog-locations.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name vibes.neeldhara.blog vibes.neeldhara.email;
|
||||
root /usr/share/nginx/html;
|
||||
include /etc/nginx/snippets/blog-locations.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name puzzles.neeldhara.blog puzzles.neeldhara.email;
|
||||
root /usr/share/nginx/html;
|
||||
include /etc/nginx/snippets/blog-locations.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name reflections.neeldhara.blog reflections.neeldhara.email;
|
||||
root /usr/share/nginx/html;
|
||||
include /etc/nginx/snippets/blog-locations.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name poetry.neeldhara.blog poetry.neeldhara.email;
|
||||
root /usr/share/nginx/html;
|
||||
include /etc/nginx/snippets/blog-locations.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name reviews.neeldhara.blog reviews.neeldhara.email;
|
||||
root /usr/share/nginx/html;
|
||||
include /etc/nginx/snippets/blog-locations.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name art.neeldhara.blog art.neeldhara.email;
|
||||
root /usr/share/nginx/html;
|
||||
include /etc/nginx/snippets/blog-locations.conf;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue