mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Update README and add nginx.conf used for deployment to VPS
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
server {
|
||||||
|
server_name hazemkrimi.tech;
|
||||||
|
|
||||||
|
access_log /var/log/nginx/access.log;
|
||||||
|
root /var/www/hazemkrimi.tech;
|
||||||
|
index index.html;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
try_files $uri $uri/ =404;
|
||||||
|
}
|
||||||
|
|
||||||
|
location ~* \.(?:css|js|ico|ttf|png|svg|webm) {
|
||||||
|
expires 1M;
|
||||||
|
access_log off;
|
||||||
|
add_header Cache-Control "public";
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user