|
@ -7,8 +7,8 @@ upstream php74 { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
map $http_host $root { |
|
|
map $http_host $root { |
|
|
octobercms.ru.local.wpstudio.ru /usr/share/nginx/html/someproject; |
|
|
|
|
|
wordpress.ru.local.wpstudio.ru /usr/share/nginx/html/someprojectwp; |
|
|
|
|
|
|
|
|
octobercms.local.wpstudio.ru /usr/share/nginx/html/someproject; |
|
|
|
|
|
wordpress.local.wpstudio.ru /usr/share/nginx/html/someprojectwp; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
# @see https://github.com/OFFLINE-GmbH/oc-responsive-images-plugin/#responsive-images |
|
|
# @see https://github.com/OFFLINE-GmbH/oc-responsive-images-plugin/#responsive-images |
|
@ -20,13 +20,10 @@ map $http_accept $webp_suffix { |
|
|
resolver 8.8.8.8; |
|
|
resolver 8.8.8.8; |
|
|
|
|
|
|
|
|
map $http_host $uploads_upstream { |
|
|
map $http_host $uploads_upstream { |
|
|
wordpress.ru.local.wpstudio.ru "https://somewp.site"; |
|
|
|
|
|
|
|
|
wordpress.local.wpstudio.ru "https://somewp.site"; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
server { |
|
|
server { |
|
|
server_name |
|
|
|
|
|
octobercms.ru.local.wpstudio.ru |
|
|
|
|
|
; |
|
|
|
|
|
listen 80 default; |
|
|
listen 80 default; |
|
|
root $root; |
|
|
root $root; |
|
|
#include global/auth.conf; |
|
|
#include global/auth.conf; |
|
|