projects
/
gyiwr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8b9c86
)
add nginx configuration
author
rick
<rick@gnous.eu>
Tue, 17 Jan 2023 23:20:04 +0000
(
00:20
+0100)
committer
rick
<rick@gnous.eu>
Tue, 17 Jan 2023 23:20:04 +0000
(
00:20
+0100)
nginx.conf
[new file with mode: 0644]
patch
|
blob
diff --git a/nginx.conf
b/nginx.conf
new file mode 100644
(file)
index 0000000..
d61d317
--- /dev/null
+++ b/
nginx.conf
@@ -0,0
+1,14
@@
+server {
+ server_name gyiwr.tf;
+ root /var/www/gyiwr;
+ index index.html index.htm index.nginx-debian.html;
+
+ location / {
+ try_files $uri $uri/ =404;
+ }
+
+ location ~* \.(png|jpg|jpeg|gif)$ {
+ expires 365d;
+ add_header Cache-Control "public, no-transform";
+ }
+}