Last active
December 19, 2019 02:45
-
-
Save Willamin/e4c5feda7b99325c1ad7c5f0be083164 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ tree -L 2 /media | |
/media | |
├── bigboi | |
│ ├── lost+found | |
│ └── Movies | |
├── disk | |
├── extra | |
└── library | |
├── das | |
├── Internet Videos | |
├── lost+found | |
├── Movies -> /media/bigboi/Movies | |
├── Short Films | |
├── Tech Talks | |
└── TV Shows | |
13 directories, 0 files | |
$ cat /etc/nginx/nginx.conf | |
user will; | |
worker_processes 1; | |
error_log /var/log/nginx/error.log; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
include /etc/nginx/conf.d/*.conf; | |
server { | |
listen 80 default; | |
server_name _; | |
root /media/library; | |
location / { | |
index index.html; | |
autoindex on; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment