Add example files for nginx
This commit is contained in:
21
i.subdomain.conf
Normal file
21
i.subdomain.conf
Normal file
@ -0,0 +1,21 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
|
||||
# Where images are served from
|
||||
# Should be your SERVE_DOMAIN
|
||||
# Example: https://i.example.com/firefox_5dze5fqAEp.png
|
||||
server_name i.example.com;
|
||||
|
||||
# Where the images are stored
|
||||
# This is your UPLOAD_FOLDER
|
||||
root /var/www/embed;
|
||||
|
||||
include /config/nginx/ssl.conf;
|
||||
|
||||
client_max_body_size 0;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ $uri.html =404; # Note the $uri.html
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user