mirror of
https://github.com/spacebarchat/docs.git
synced 2024-11-08 11:22:31 +01:00
Merge pull request #81 from TheKrafter/master
Replace "media.whatever.com" with "media.example.com" in imagor page
This commit is contained in:
commit
4565491522
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user