All Questions
32 questions
0
votes
0
answers
43
views
How can nginx report empty `ssl_protocol` when successfully handling a query with TLS?
I have an nginx proxy which is handling requests in a server block like this (redacted):
http {
log_format testformat '[$time_local] [$remote_addr] [$ssl_protocol] [$status] $request_method:$...
1
vote
0
answers
149
views
Suspicious requests to nginx web server
Periodically, the nginx web server receives a lot of requests from the same IP address:
$ cat /var/www/site.com/logs/access.log | grep '213.80.239.170'
213.80.239.170 - - [14/Mar/2023:11:05:03 +0600] ...
3
votes
3
answers
3k
views
Reverse proxy SSL with Nginx, do I need a wildcard or a separate cert for every host?
I have Nginx setup and successfully serving SSL to example.com using certbot/letsencrypt. But when I try to reverse proxy to a local machine I get NET::ERR_CERT_COMMON_NAME_INVALID. Here's the ...
1
vote
0
answers
72
views
How to run a nodejs app over HTTPS?
I have a node.js app that I want to deploy on a VPS. So I ran the app on port 8080, then went to IP_ADDRESS:8080 and the website was there. So the next step was removing that port number because I don'...
-1
votes
1
answer
436
views
Missing SSL certificate cause unwanted redirect to another website
I have a website without SSL certificate. When opened in browser it shows error message: "Potential Security Risk Ahead" which is good but when click "accept the risk and continue" ...
1
vote
1
answer
320
views
How do i setup a simple smart dns proxy service using nginx? [closed]
I have trying to setup a smart dns proxy service using nginx reverse proxy mode. its ok with http sites but i have issues with https sites. when i want to open https sites via my proxy i got following ...
0
votes
0
answers
137
views
get nginx proxy for https://hostname to work
I'm using nginx to proxy a site internal to our firewall. Right now the following urls work:
http://sitename (-> https://sitename.example.com)
http://sitename.example.com (-> https://...
0
votes
0
answers
45
views
Set up SSL on NGINX
I'm having difficult setting up SSL on nginx running on Ubuntu. I have a .pfx, .crt, and .pem cert files to work with, but the documentation is for setting it up with .crt and .key files. The code ...
1
vote
1
answer
91
views
Where To Configure SSL On Nginx Reverse Proxy or on Apache2 on Ubuntu 18.04 Server?
My question is about SSL/TLS.
I'm running Ubuntu 18.04 server with:
Apache2 serving 3 public domains on 1 public IP.
On the same server I'm running:
Nginx and will configure as a reverse ...
2
votes
2
answers
1k
views
What makes Open Graph checkers unable to detect Open Graph data?
My page, after adding SSL certificate, cannot have preview fetched by Facebook or Twitter when sharing the link. I have followed The Open Graph protocol and include the following open graph tags:
&...
1
vote
0
answers
129
views
Should my sitemap and robots.txt have http or https urls for the given scenario [duplicate]
My website is running on node.js and runs in http on port 3000
I am using NGINX to enable https access so that all pages are served as https
I have placed my sitemap.xml and robots.txt inside the ...
0
votes
1
answer
270
views
HTTPS time out for newly installed SSL certificate on Nginx
Recently I bought a SSL certificate on GoDaddy and set it up in my Nginx server like this:
server {
listen 443 ssl default_server;
server_name www.mywebsite.example;
ssl on;
...
5
votes
1
answer
11k
views
Nginx fails to start HTTP/2 server due to error: unknown log format
In our hosting server from the Plesk cpanel, Nginx is configured to work as a reverse proxy engine. As I need to enable HTTP/2 that can speed up the loading time of Plesk and hosted websites.
...
3
votes
1
answer
428
views
nginx: 301 redirect to non-www, SSL urls on default_server(s)
My goal is to have nginx primarily return a check for all requested URLs that start with http:// and/or contain //www., and 301 redirect them to the URL where //www. is replaced by // and http:// ...
0
votes
2
answers
3k
views
HTTPS + IP not redirecting to configured Domain Name and gives "Your connection is not private" [Nginx/Ubuntu]
I am using NGINX for 301 redirects on Ubuntu and reverse proxy for my Web Application and aim is to redirect traffic to non-www url such as https://mywebapplication.example.
So with my current ...
3
votes
0
answers
975
views
Non-www to www redirect not working in Firefox; Works in Chrome with nginx server
I've configured my website to have https with www scheme. I opted to redirect all the traffic from non-www to www, at the time of setting up LetsEncrypt SSL certificate and it works absolutely fine on ...
2
votes
1
answer
501
views
How to set up a reverse proxy on an SSL subdirectory from another server?
Setup is as follows:
Our agency's client's domain is https://www.example.com (with SSL certificate from Amazon)
They have NGINX severs, and manage their own hosting
They want us to build a few simple ...
1
vote
0
answers
373
views
Multiple SSL server blocks with nginx on single ec2 instance
I've asked this question before and I think I found a potential answer on the nginx Website, which is to have multiple internal IPs for the Web server to listen on. I don't know how to do that with ...
2
votes
1
answer
150
views
HTTPS request connection timeout (NGINX)
I tried a lot by reading different answers on Stackoverflow and other forums but unable to identify the error, can someone please check the below configuration and tell me what could be wrong?
server ...
3
votes
2
answers
6k
views
nginx http to https redirect causing 400 Bad Request: the plain HTTP request was sent to HTTPS port
I am running my own webserver with nginx on ubuntu 17.10. I have opened ports 80 and 443.
Trying to get the HTTP to HTTPS redirect working, but everthing i seem to have tried fails. i am still ...
2
votes
1
answer
1k
views
Trouble replacing old SSL certificate on Nginx
Disclaimer: This is my first ProWebmasters post. I thought this would be an appropriate place for this question but if it is not I'm happy to remove it.
We use SSL For Free for our business site. We ...
3
votes
2
answers
87
views
Is SSL a Major Contributing Factor to Website Speed
I have nearly a perfect score on Pingdom Results: https://tools.pingdom.com/#!/tU1lz/https://varmag.com/
If I'm not mistaken, it looks like SSL is what's slowing me down? Doing some research, If I'm ...
2
votes
3
answers
2k
views
How to make transition from HTTP/1.1 to HTTP/2 with SEO in mind?
I'm aware that HTTP/2 is using only https protocol.
My existing implementation on the website are all HTTP/1.1 with http protocol with thousands of existing urls.
To add HTTP/2 support, without ...
1
vote
0
answers
773
views
Forcing SSL on Wordpress crashes site?
So I have just installed a paid Comodo SSL on my website.
I can visit my website with https://homepage.com/ but the https appears grey. Currently that isn't my worry.
But when I visit the website ...
2
votes
1
answer
217
views
How do I ensure that I redirect HTTP requests to HTTPS?
I use CloudFlare for DNS for a variety of sites. I am using all three free Page Rules for custom caching, and I am trying to avoid upgrading to their Pro service to use Page Rules to force HTTPS. I ...
2
votes
1
answer
287
views
Redirect http to https with nginx and rewrite a rule gives redirect loop
I want to redirect http to https along with
rewrite ^(.*)$ /$1.php;
My nginx virtualhost file:
server {
listen 80;
server_name domain.com;
return 301 https://$...
1
vote
1
answer
60
views
What to do with pages that leaked into SERP due to faulty server configuration
There are two sites on one server:
http://www.exampleA.com lives in the root
http://www.exampleB.com live in the htdocs web folder
SSL on the server was configured incorrectly for http://www....
5
votes
1
answer
536
views
Nginx and Google Appengine Reverse Proxy Security
The scenario is that I have a Google compute node running Nginx as a reverse proxy to the google appengine. The appengine is used to service REST calls from an single page application (SPA). HTTPS ...
5
votes
2
answers
4k
views
How can I serve all resources under HTTPS instead of HTTP without changing their URLs in the HTML code
I know that by using an .htaccess file I can redirect everyone to https://. However, my SSL certificate complains if all the content isn't served under HTTPS.
Is there a way to convert all the ...
0
votes
1
answer
769
views
Remove www from HTTPS request in Nginx
I have the following code:
server {
listen 443;
server_name www.domain.com;
ssl on;
ssl_certificate /etc/nginx/ssl/domain.com.crt;
ssl_certificate_key /etc/nginx/ssl/domain.com.key;
return ...
1
vote
1
answer
115
views
Get cipher used for HTTPS with nginx
Background
I would like to run several Tornado instances with nginx as a load balancer and static file server. Since both are to be running on the same machine (or atleast the same, private network) ...
28
votes
2
answers
96k
views
Can I skip the PEM pass phrase question when I restart the webserver?
After buying a multi-domain SSL certificate I have started testing it with the Nginx webserver (following documentation in their SSL wiki page).
Everything is fine, it works and I get a green ...