провайдер в доме один, VPS как раз и приобрел
например, у меня в Москве провайдер всё ещё с NAT и без IPv6. Белый IP стоит дороже абонплаты и только по заявлению. Проброс трёх портов - 600р за настройку + 300р в месяц. Так и сидим
Написано час назад
server {
listen 80;
server_name react-cod.ru www.react-cod.ru;
location / {
root /root/frontend/build;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
location ~ \.(js|css|png|jpg|jpeg|gif|ico|svg)$ {
expires 1y;
access_log off;
add_header Cache-Control "public";
}
location = /favicon.ico {
log_not_found off;
access_log off;
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
error_page 404 /index.html;
}