<input type="tel" name="phone" placeholder="Телефон" autocomplete="tel">
include includes/gzip.conf;
server {
listen 80;
listen 443 default_server ssl;
server_name ИМЯ_ДОМЕНА;
client_max_body_size 500M;
root /var/www/html/;
index index.php;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
location = /robots.txt {
add_header Content-Type text/plain;
return 200 "User-agent: *\nDisallow: /\n";
}
include includes/restrictions.conf;
include includes/ssl.conf;
include includes/sitemap.conf;
include includes/expires.conf;
include includes/cross-domain-fonts.conf;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass wordpress:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
}