﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
1456	.tech domain location problem	horuszp92@…		"Hi I have a problem with locations configure on .tech domain zone.
I have domain hstudio.tech andI tried make location ""/category"" in configuration files to proxy_pass on my golang instance, but each time i received 404 code.
I tried redirects, also simple http code return, but every time I opened https://hstudio.tech/category/ I received 404 error.
Then I fully copied my config file and configured domain to .com instead .tech (hstudio.com instead hstudio.tech), I don't own this domain so just tried via /etc/hosts file, and it worked. I changed only server_name parameter and nothing else.

Here is config file with .tech name


{{{
server {
  listen 80;
  server_name hstudio.tech www.hstudio.tech;
  #return 301 https://hstudio.tech$request_uri;
}
server {
  listen 443 ssl;
  server_name hstudio.tech www.hstudio.tech;
  root /var/www/html/hstudio;
  index index.php index.html index.htm;
  error_log /var/log/nginx/hstudio.log error;
  access_log /var/log/nginx/hstudaccess.log;
  location /category {
    proxy_pass	http://localhost:880;
}
  location = /favicon.ico {
    log_not_found off;
    access_log off;
  }
  ssl_certificate /etc/letsencrypt/live/hstudio.tech/cert.pem;
  ssl_certificate_key /etc/letsencrypt/live/hstudio.tech/privkey.pem;
  location = /robots.txt {
    allow all;
    log_not_found off;
    access_log off;
  }
}

}}}
"	defect	closed	minor		nginx-core	1.12.x	invalid			Linux CentOS-73-64-minimal 3.10.0-693.2.2.el7.x86_64 #1 SMP Tue Sep 12 22:26:13 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux	nginx version: nginx/1.12.2
