New answers tagged

0 votes

How to configure HSTS in Wildfly the proper way?

You have to add the filter and then use it on hosts.
0 votes

Apache: How to "hide" a subdomain but serve over https

<Directory "/var/www/subdomains/db"> Options Indexes FollowSymLinks ExecCGI Order allow,deny Allow from all AuthType Basic AuthUserFile "/var/www/.htpasswd-...
  • 11.8k
2 votes

Apache: How to "hide" a subdomain but serve over https

There's at least three ways to solve this: Use the DNS challenge, requiring no HTTP connection Disable basic auth for .well-known/-path which is used by certbot. Use the standalone module of certbot. ...
  • 4,044
0 votes

Apache: How to "hide" a subdomain but serve over https

One possible way is to add access restrictions for the virtual host like this: <Directory "/www/docs/db"> <RequireAll> Require ip <localip> <certbot host-...
  • 3,442
0 votes

Nginx not working with domain/url that points to server IP

Your server block for port 80 has only the name localhost configured. server_name localhost; The domain api.example.com is missing here. So the request to that domain via HTTP is captured by the ...
0 votes

Can I create an SSL Certificate to a domain that redirects to other domain servers?

TLS certificates live on web servers (or other devices/software providing network services). They don't live on a domain in DNS. So in short, no. You can't host a certificate just in the DNS zone you ...
  • 16.5k
0 votes

Configuring Nginx and Tomcat to Access HTTPS content

Configure your backend server to server the URL that points to the reverse proxy. With Tomcat this is usually done with the proxyName and the proxyPort attributes at the connector. You are missing the ...
0 votes

Exclude specific URL from HTTP to HTTPS redirect in apache2 virtual host

Okay, actually I figured out the following solution I might live with: <VirtualHost *:80> ServerName example.com Redirect gone /api Redirect permanent / https://example.com/ </...

Top 50 recent answers are included