All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
32 views

Kubernates - ExternalName Service rewrite method from POST to GET after HTTPS redirect

Imagine to have this scenario: An API Gateway A Backend Service deployted on a Kuberantes cluster. Also we have: An external authenticated service (imagine an external web application out from our ...
Bugpirasi's user avatar
  • 101
0 votes
1 answer
180 views

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

I'm looking for an easy configuration to exclude a specific URL(pattern) from my apache2 HTTP to HTTPS redirect and failed so far. Background is an API with typical authorization mechanics which ...
StarFighter's user avatar
0 votes
1 answer
324 views

Why does IIS timeout http requests on phones, but accepts https?

I followed this solution on how to redirect http to https. It works on pc but not on phones for some reason (and im sure neither on iPad or tablets). You can test the website here. I think IIS is ...
Allart's user avatar
  • 101
0 votes
1 answer
463 views

nginx allow sending redirect from app to client

I am trying to redirect a user back to my mobile-app after successful login. (linking back to the app) For this, I send a 307 response with this link: exp://192.168.178.33:19000?steamId=...
greterpiffin's user avatar
1 vote
0 answers
740 views

Nginx Redirect from HTTP to HTTPS works in Firefox but not in Chrome

with my Nginx configuration (see below) redirecting from http to https works fine when accessing the page (http://example.com/) with Firefox. But for some strange reason it does not work with Chrome. ...
tab269's user avatar
  • 11
2 votes
1 answer
390 views

Lighttpd - Redirect HTTPS 443 to HTTPS 123

I have HTTPS working for a local instance of Lighttpd. But I'm wanting to redirect: http://192.168.1.254 -> https://192.168.1.254:123 https://192.168.1.254 -> https://192.168.1.254:123 My ...
Sean Delaney's user avatar
0 votes
0 answers
86 views

HTTP redirect not working

My website: https://www.louiswebsdale.co.uk/ keeps giving the "400 bad request invalid header" error when trying to visit it without the https. So www.louiswebsdale.co.uk or http://www....
Louis Websdale's user avatar
0 votes
0 answers
25 views

add url parameters automatically to a given site

I need to automatically add some GET parameters when someone is typing a specific url from inside my LAN. Example, you digit www.example.com and you will redirect to www.example.com?variable=1 I have ...
Kreker's user avatar
  • 468
0 votes
1 answer
3k views

IIS: Redirect HTTP to HTTPS for all URLs

For our website (Windows Server 2016 Datacenter, IIS 10) we use two different URLs - lets say url1.com and url2.com by using the same root directory and the same application pool. In our web.config ...
Bernd Morgeneyer's user avatar
0 votes
2 answers
109 views

Nginx not redirecting non www version correctly

the http version is handle by nginx and the https is handle by apache. Now my issue is that for example when u type https://sitename.com/contact/ it works fine but when u type http://sitename.com/...
Jack Duldi's user avatar
0 votes
0 answers
162 views

http not redirecting to https://www in nginx | using apache and nginx

Non www version redirects to nginx default page instead of website how can I fix this? https://www.example.com works fine, http://www.example.com works fine, https://example.com works fine, But http:...
Jack Duldi's user avatar
1 vote
0 answers
3k views

nginx too many redirects HTTP to HTTPS

I have a problem with accessing my site from Internet. When I am trying to do that the browser is showing the error "too many redirections" or "redirection loop". This is my site conf file. I ...
McGalaxy's user avatar
0 votes
1 answer
2k views

Forcing to redirect https to http in Apache 2.4

I am trying the following. I have a domain where I publish. This publication is only by http, but I need all requests by https to redirect me to http since I do not have ssl certificate installed and ...
admatlantis's user avatar
1 vote
0 answers
34 views

Nginx redirecting me incorrectly despite my configuration

Ok, so I am working for this new company and was not able to obtain any knowledge from their old developer about the nginx configuration. Everything has been fine until I starting running into this ...
GMan's user avatar
  • 11
-1 votes
1 answer
224 views

How to force/redirect http to https? [duplicate]

I've following VirtualHost configured: <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot /var/www/mysite.com/public_html/ ServerName www.mysite.com ...
stighy's user avatar
  • 931
2 votes
2 answers
60 views

Advertise HTTPS support without using HSTS

I have a website which supports HTTPS: all pages of the form http://example.com/foo can be accessed as https://example.com/foo (the query will return the same content). That said, the website doesn't ...
a3nm's user avatar
  • 888
0 votes
3 answers
578 views

Apache SSL "catch all" for maintenance

We're going to have to temporarily shutdown our servers, as they need to be physically moved and put onto a better UPS. I don't want to just have "can't connect" errors come up for our users, and I ...
Bob's user avatar
  • 13
0 votes
0 answers
166 views

How do I find the cause of an unwanted redirect by Nginx?

I'm using nginx as my server. I have two domain names abc.com and xyz.com. Somehow I have configured abc.com to go to xyz.com but I cannot find where. I have a file under sites-enabled for each domain ...
Jorjani's user avatar
  • 143
0 votes
0 answers
295 views

.htaccess https to http xampp not working [duplicate]

For some reasons i am trying to Redirect all traffic coming to port 443 to port 80 i.e from https to http and kindly this is not duplicate because i searched a lot but did not found any working ...
Zain Ul Abidin's user avatar
1 vote
1 answer
118 views

Can I safely redirect all incoming HTTP traffic when new files are being uploaded via FTP?

Our website is receiving an update very soon, we've already updated all the PHP, HTML & CSS files so pretty much we just now need to upload the new files to the web server via FTP. Being that the ...
Power5's user avatar
  • 13
1 vote
1 answer
72 views

Traffic drop after HTTPS Magento

we have a Magento store, that we switched to https. Now 2 weeks after, we got a drop about 30%... What could be the cause? I followed every step that was recommended. I requested a reindex via search ...
Markelus's user avatar
0 votes
1 answer
2k views

F5 BIG-IP monitor to detect http to https redirects

We have an F5 BIG-IP load-balancer we use in front of a web application hosted by several identical servers. The application listens on port 443 for SSL/TLS requests and port 80 for http requests. ...
user35042's user avatar
  • 2,711
0 votes
1 answer
506 views

http to https redirection - apache2

I have a odoo instance running in an ubuntu16 server. Apache is acting as the front end server and is proxypassing the request to the odoo instance. I have now configured the virtualhost to enable SSL ...
Kishor N's user avatar
-2 votes
2 answers
3k views

http to https redirection multiple sites

I use IIS10 and I want to redirect all HTTP to HTTPS for all my sites. For example: http://one.test.example should be redirected to https://one.test.example http://two.test.example should be ...
Omar Bennani's user avatar
0 votes
1 answer
389 views

access specific server behind reverse proxy

I have multiple devices that are all behind a private network. I have a WAN facing server that I can call into. Is there any way for me to be able to send an HTTP request through the WAN server to a ...
zlb323's user avatar
  • 3
2 votes
1 answer
980 views

apache2 mod_rewrite redirect without http body [duplicate]

I am currently using Apache mod_rewrite to redirect to HTTPS, but I would like to remove the body from the response. How it is currently: Example: How I would like it to be My redirect ...
reddot2k's user avatar
1 vote
1 answer
2k views

Nginx returns 200 while Apache returns 302 on same PHP application [closed]

I have a PHP web application that does work in my local Apache development environment. However, the same app does not work in my production environment with nginx (1.4.6/Ubuntu) and PHP-FPM. When I ...
Magnus's user avatar
  • 255
8 votes
2 answers
7k views

Apache Conditional Redirect HTTP to HTTPS

all. I have a syntax problem. I've tried following other sources, but It's just not working. I've successfully created an unconditional HTTP to HTTPS redirect. Go to http://www.robjvargas.com, ...
Rob Vargas's user avatar
85 votes
2 answers
208k views

Best way to redirect all HTTP to HTTPS in IIS

We want ALL sites on our webserver (IIS 10) to enforce SSL (ie redirect HTTP to HTTPS). We are currently 'Requiring SSL' on each site and setting up a 403 error handler to perform a 302 redirect to ...
userSteve's user avatar
  • 1,583
-3 votes
2 answers
43 views

One site non https

Hello I want to make sure that one file of my site is non https. I have this in my VirtualHost80 file Redirect permanent /README.php http://<ip>/README.php And I have this in my ...
John Wick's user avatar
  • 105
1 vote
1 answer
1k views

nginx won't redirect http to https

I have a nginx docker running, with multiple site-config files. One of those is just a general redirect for all http connnections to https: server { listen 80; server_name *.example.com example.com; ...
John's user avatar
  • 31
0 votes
1 answer
111 views

HTTP to HTTPS redirect failing [duplicate]

When I navigate to http://example.com it correctly redirects to https://example.com. The problem I'm having is that when I navigate to http://example.com/sub/directory/page.htm it redirects to https:/...
crmepham's user avatar
  • 115
14 votes
4 answers
26k views

How to redirect HTTP to HTTPS on AWS Application Load Balancer?

Our website needs HIPAA compliance so everything needs to be encrypted. I don't want client to get an error message when they put in "http://mysite.com", so I need to support both HTTP and HTTPS, and ...
AussieDude's user avatar
0 votes
2 answers
51 views

A particular sub-domain in a virtual host is not redirecting, but others succed

I like my website to be accessible by example.org or https://example.org not www.example.org. So I want http://www.example.org to redirect to http://example.org and http://www.example.org to https://...
Finch's user avatar
  • 125
0 votes
0 answers
583 views

Can't redirect http:// to https:// via nginx

Good day everybody, I have set up an Nginx Webserver on an Ubuntu instance. I have configured the /etc/nginx/sites-enabled/default file like this: server { listen 80; ...
drflngr's user avatar
0 votes
2 answers
488 views

Redirect http to https but exclude some

I'm using nginx and I want to know if it's possible to do this. Now to manage my vhost, I create them separately in /etc/nginx/sites-available (activate them after) mydomain.com subdomain.mydomain....
Dlazzy's user avatar
  • 33
-3 votes
1 answer
36 views

301 redirect via .htacess file to different domain [closed]

I need .htaccess code to 301 redirect https://www.example.com to http://www.example.org. Thanks!
sina jalalvandi's user avatar
0 votes
2 answers
1k views

haproxy redirect doesn't work for kibana

My haproxy config looks like and redirect to 5601 for kibana doesn't work. Why? ########################################################################## defaults mode http log ...
Kibaner_User's user avatar
18 votes
2 answers
11k views

Redirect all requests to HTTPS, except for one subdirectory

I'm trying to move from self-signed certificates to Let's Encrypt certificates on my nginx webserver. Currently, I redirect all requests to http/80 to https/443, which uses a self signed certificate ...
SaAtomic's user avatar
  • 329
9 votes
3 answers
3k views

Apache DirectorySlash redirects HTTPS requests back to HTTP

User Request: https://www.example.com/test HTTPS requests --> AWS ELB HTTPS Listener --> Apache HTTP Apache getting http://www.example.com/test Apache redirect it to http://www.example.com/...
starchx's user avatar
  • 533
0 votes
3 answers
8k views

HTTP to HTTPS redirect even for IP

I have already read many question on basic http -> https redirection, but it all talks about the redirect/rewrite including only domain name. <VirtualHost *:80> ServerName www.example.com ...
user2700022's user avatar
0 votes
1 answer
779 views

Apache2 : redirect subfolder to https (http://example.com/sub -> https://example.com/sub)

I'm setting up an Apache2 server on Ubuntu 16.04. I use a self-signed certificate because I want my nextcloud instance to be available only with https. For now, I use a permanent redirection : #/...
mxdsp's user avatar
  • 101
3 votes
2 answers
6k views

"Remove the following redirect chain if possible" on Nginx

I ran Pingdom test on my 1 plain html file site and I get F rating for this: Remove the following redirect chain if possible: http://example.com/ http://www.example.com/ https://www.example.com/ ...
user3108268's user avatar
-1 votes
1 answer
1k views

Redirect HTTP to HTTPS with WWW in Nginx

I am using letsencrypt ssl. When i access site with domain.com, it gets redirected to https://domain.com but i want https://www.domain.com ! I have added www as alias for domain.com in dns panel for ...
Serafin Czarnecki's user avatar
2 votes
1 answer
3k views

Apache redirects behind SSL terminating proxy

I have the following redirects in the <VirtualHost *:80>: RewriteRule ^/old-url$ /new-url [R=301,L] RewriteRule ^/foo$ /bar [R=301,L] ... In front of apache I've got haproxy, ...
cherouvim's user avatar
  • 804
0 votes
1 answer
92 views

Nginx: how to redirect all request from https://domainA.com to https://domainB.com? (and not only http ones)

I have several domain names, and I want redirect all of them to https://indi-ticket.fr I have configured Nginx and all the request from http://other-domain.xx are redirected to htpps://indi-ticket.fr ...
Simon's user avatar
  • 137
5 votes
1 answer
3k views

Empty reply from server when trying to redirect HTTP to HTTPS in nginx as a reverse proxy for jenkins

I’m running Jenkins behind Nginx and I use Let’s Encrypt for the SSL Certificate. If I access the site via https://jenkins.mydomain.de/, everything works fine. But when I access it via http://jenkins....
Gorgor's user avatar
  • 51
0 votes
4 answers
2k views

Redirect http subdomain to https

I'm trying to redirect all requests from http://blog.example.org to https://blog.example.org. Unfortunately I receive this error: 400 Bad Request The plain HTTP request was sent to HTTPS port My ...
br0ken.pipe's user avatar
2 votes
0 answers
481 views

Disable HTTPS for one of two name-based websites, hosted on one IP address

I have a local Apache2 server which hosts two name-based websites on a single IP. The first website is hosted only on port 80. The second is hosted on port 80 and 443. If accessed on port 80 the user ...
boolean.is.null's user avatar
0 votes
1 answer
116 views

How to apache to stop response to requests if alias or port does not match

I have more than one domain like example1.com example2.com. Some of them has SSL certificates and some of them does not. My apache listens both 80 and 443. If a domain has SSL certificates, I redirect ...
xxlali's user avatar
  • 51