summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitattributes1
-rw-r--r--.gitignore1
-rw-r--r--config/guzzle.conf7
-rw-r--r--src/files/chris.webpbin0 -> 1950 bytes
-rw-r--r--src/files/rickroll.mp4bin0 -> 20247438 bytes
5 files changed, 8 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes
index 60256f2..68a2ea2 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,3 +1,4 @@
* text eol=lf
*.mp4 -text
*.gif -text
+*.webp -text
diff --git a/.gitignore b/.gitignore
index 2f22150..a9b9cd5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
push
-files/ \ No newline at end of file
diff --git a/config/guzzle.conf b/config/guzzle.conf
index 1d54557..4aa3314 100644
--- a/config/guzzle.conf
+++ b/config/guzzle.conf
@@ -5,6 +5,8 @@ server {
root /var/www/guzzle;
index index.html;
+ rewrite /chris2 /files/chris.webp permanent;
+
location / {
try_files $uri $uri/ =404;
}
@@ -17,6 +19,11 @@ server {
autoindex on;
}
+ location /api {
+ rewrite ^/api/(.*) /$1 break;
+ proxy_pass http://127.0.0.1:7070$uri$is_args$args;
+ }
+
listen [::]:443 ssl ipv6only=on; # managed by Certbot
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/guzzle.gay/fullchain.pem; # managed by Certbot
diff --git a/src/files/chris.webp b/src/files/chris.webp
new file mode 100644
index 0000000..d313814
--- /dev/null
+++ b/src/files/chris.webp
Binary files differ
diff --git a/src/files/rickroll.mp4 b/src/files/rickroll.mp4
new file mode 100644
index 0000000..b988dc4
--- /dev/null
+++ b/src/files/rickroll.mp4
Binary files differ