0
Z odpowiedzią
Custom http nginx.conf
Beaudinn Greve 10 lat temu
•
Ostatnio zmodyfikowane przez Eugene Pankov (Project coordinator) 10 lat temu •
1
I want to add my own things to nginx settings.
Not in the "server" section but in the Http section.
Like this map it should be placed outside the server block.
map $http_host $code {
print.dev.net fr;
print.dev.co.uk uk;
print.dev.es es;
}
Not in the "server" section but in the Http section.
Like this map it should be placed outside the server block.
map $http_host $code {
print.dev.net fr;
print.dev.co.uk uk;
print.dev.es es;
}
Odpowiedź
0
Odpowiedź
Z odpowiedzią
Eugene Pankov (Project coordinator) 10 lat temu
You can achieve that by putting code into /etc/nginx.custom.d/codes.conf
Odpowiedź
Z odpowiedzią
You can achieve that by putting code into /etc/nginx.custom.d/codes.conf
Customer support service by UserEcho