Questions tagged [headers]

Probably not the tag you want, please use something more specific like http-headers or smtp-headers.

71 questions
1
vote
1 answer

NGINX 302 redirect / proxy

I have an icecast server that runs on port 8000 however when I set up a proxy using NGINX I seem not to be able to make it look like it is the original server. I am wondering is there anyway to kinda like make a NGINX that is parked and pointed at…
RussellHarrower
  • 185
  • 1
  • 1
  • 12
1
vote
1 answer

Linux header 4.9.0-11-amd64 is missing in debian

I am a software developer and have only a basic understanding about Linux systems. We are in a migration phase from GCP to AWS and found that the Linux headers are missing while installing Cloud endure agent. On checking found that the version…
1
vote
0 answers

Apache: Setting response headers based on the existence of multiple response headers

We are attempting to enforce a set of non-cache headers in cases where a reverse proxy does not return any cache headers, in an effort to allow independent backend developers to set headers as they please, but fall back to a safe option. However, my…
1
vote
0 answers

Apache2 - Header directives are not working

I would like to enhance the security of my server, so I'm following a guide regarding server security. I'm new to the subject, therefore there are many things I struggle to understand and there is much to change in the configuration files. At the…
DamiToma
  • 113
  • 3
1
vote
1 answer

Removing one cookie in proxy_pass of nginx

I'm trying to proxy_pass the whole request coming to my nginx to certain base URL to another upstream server removing server cookie. All other cookies, HTTP headers, the URL itself should be kept as is, sent to the upstream and response passed back…
Alexey
  • 49
  • 3
  • 16
1
vote
1 answer

setup SameSite=none value in Nginx webserver

I need to setup SameSite=none value in Nginx webserver In case of using Nginx as main webserver and non reverse proxy will the below configuration work? Inside server block location { proxy_cookie_path ~(.*) "$1; SameSite=none; secure;…
Georg
  • 11
  • 1
  • 2
0
votes
1 answer

Strict-Transport-Security header, specific questions regarding adding to my Apache 2.4 setup

I have several IP-based virtual hosts that I want to add the Strict-Transport-Security header on. I'm using Apache 2.4 custom compiled. Currently I have two containers for each domain, like so: ... …
Jeff
  • 1,416
  • 3
  • 28
  • 50
0
votes
2 answers

Block all requests except certain header

I'm using CloudFlare in a shared environment and I'm trying to help block non-CloudFlare users who circumvent to my origin IP. Loading up the web page I see the header server: "cloudflare". So I tried the following htaccess code and I get a 403…
Aaron
  • 11
  • 1
0
votes
0 answers

Embedding 3 bytes custom data in IPv4 header and then filter by iptables

In my modified OpenVPN server process, as an intermediate node, I'd need to embed my custom 3 bytes data in the header of every IP packet and then in the same machine (after going through tun) filter those packets by those custom 3 bytes. Where's…
frogatto
  • 103
  • 4
0
votes
0 answers

My Postfix is rewriting From: header for incoming emails with bad From headers

I received some phishing emails, and the From: header contained ONLY a display name. Like : From: Timmy Tester Postfix then delivered the email, but appended its hostname to FIRST PART of the display name / malformed From header. So the recipient…
user145837
  • 371
  • 5
  • 18
0
votes
1 answer

Exim: how to rewrite a header to remove a string like +1234+?

Hi sorry for a bit of a newbie exim question. For historic reasons we have email going through a smart host addressed to something like: johnsmith+12345+@destinaton.com (where 12345 can be any number) We need to understand how to get Exim to…
Keith
  • 3
  • 1
0
votes
1 answer

Why does all my sites inherit the HTTP header from the main site?

I have two sites on the same Nginx server. The site www.example.com contains HTTP headers, but not the analytics.example.com When I go to the analytics.example.com site there is an error message in the console : Mixed Content: The page at…
ML19
  • 91
  • 1
  • 2
  • 8
0
votes
0 answers

IIS Reverse Proxy: Too Many Redirects and Header Code of 302

[This is a cross post from ESRI's GIS site; I am not getting any luck there] I have not been able to find step by step directions for ArcGIS for Portal and Reverse Proxy which uses IIS as a server. I have a setup in place which mostly work but fails…
IrfanClemson
  • 111
  • 5
0
votes
2 answers

LiteSpeed ignore PHP header 404 status

After moving my website to a webhost which uses LiteSpeed it seems PHP header is ignored. I have tried these variations: $s = "HTTP/1.1 404 Not Found"; $s = "HTTP/1.0 404 Not Found"; $s = "Status: 404 Not Found"; $s =…
Tom
  • 97
  • 6
0
votes
2 answers

add_header not working in Nginx location

So, I've been trying to figure this out for the past 8 hours, but it seems I'm stuck... I have the following Nginx config file: server_tokens off; upstream php-handler { server unix:/var/run/php5-fpm.sock; } server { listen 80; server_name …
Tony
  • 269
  • 4
  • 15