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:
  • 1
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 Redirect gone /api Redirect permanent / </...
1 vote

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