Closed Protopuch closed 5 years ago
Configure environment: apt install -y nginx Static content available on VM 206.189.99.157:/var/www/static/images Entire nginx configuration on /etc/nginx/sites-available/default: server { listen 80 default_server; listen [::]:80 default_server;
root /var/www/static;
index index.html index.htm index.nginx-debian.html;
server_name _;
location / {
try_files $uri $uri/ =404;
}
location ~ \.(gif|jpg|png)$ {
root /var/www/static/images;
}
}