1
0
mirror of https://github.com/spacebarchat/docs.git synced 2024-11-08 19:32:30 +01:00

Replace "media.whatever.com" with "media.example.com"

This commit is contained in:
Krafter 2023-08-21 19:23:24 -05:00 committed by GitHub
parent 2aa157f1fa
commit 9fb105ff22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,14 +41,14 @@ location /media/ {
``` ```
Along with any additional config you already have, of course. Along with any additional config you already have, of course.
Alternative (and perhaps the better choice) would be to create a new domain, say `media.whatever.com` specifically for Imagor. Alternative (and perhaps the better choice) would be to create a new domain, say `media.example.com` specifically for Imagor.
??? "Example config for `media.whatever.com` site" ??? "Example config for `media.example.com` site"
```nginx ```nginx
server { server {
# Change the server_name to reflect your true domain # Change the server_name to reflect your true domain
server_name media.whatever.com; server_name media.example.com;
add_header Last-Modified $date_gmt; add_header Last-Modified $date_gmt;
proxy_set_header Host $host; proxy_set_header Host $host;