summaryrefslogtreecommitdiffstats
path: root/httpd.conf
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-01-18 12:52:27 +0100
committerRomain Gonçalves <me@rgoncalves.se>2021-01-18 12:52:27 +0100
commite80f58116a9ecd67b2febe06778c624fd42ed1c6 (patch)
tree7200fc2c0da09bd7386bc74c2a538ac5bebd37e3 /httpd.conf
downloadold-website-e80f58116a9ecd67b2febe06778c624fd42ed1c6.tar.gz
Restart repo from scratch
Diffstat (limited to 'httpd.conf')
-rw-r--r--httpd.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/httpd.conf b/httpd.conf
new file mode 100644
index 0000000..c02b4f0
--- /dev/null
+++ b/httpd.conf
@@ -0,0 +1,22 @@
+server "rgoncalves.se" {
+ listen on * port 80
+ root "/htdocs/rgoncalves.se"
+
+ location "/public/*" {
+ directory auto index
+ }
+
+ location "/semester_*/*" {
+ directory auto index
+ }
+}
+
+types {
+ text/css css
+ text/html html htm
+ text/plain txt pgp
+ image/gif gif
+ image/jpeg jpeg jpg
+ image/png png
+}
+
remember that computers suck.