New answers tagged

0 votes

Amazon Cloudfront with S3 Redirect

To add to lapinkoira's answer (thanks that was driving me nuts), here is the relevant AWS documentation under the "Using the REST API" accordion: https://docs.aws.amazon.com/AmazonS3/latest/...
  • 1
0 votes
Accepted

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/ </...
1 vote
Accepted

Change upstream response from 302 to 301 in nginx

You can change the 3xx status code by using proxy_intercept_errors and error_page as you suggest. You will need to use the value from $upstream_http_location to reconstruct the Location header in the ...

Top 50 recent answers are included