All Questions
129
questions
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 ...
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 ...
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 ...
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=...
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.
...
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 ...
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....
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 ...
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 ...
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/...
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:...
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 ...
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 ...
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 ...
-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
...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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. ...
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 ...
-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 ...
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 ...
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 ...
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 ...
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, ...
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 ...
-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 ...
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;
...
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:/...
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 ...
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://...
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; ...
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....
-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!
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 ...
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 ...
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/...
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
...
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 :
#/...
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/
...
-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 ...
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, ...
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 ...
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....
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 ...
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 ...
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 ...