Questions tagged [headers]

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

65 questions
1
vote
2 answers

Is it possible to fix corrupt LUKS header?

I just accidentally overwrote the LUKS metadata of my volume with a new LVM header. I have copy of the original LUKS header but can't find it. Just in case, I made a dd image of the first 10MB of the now corrupt volume on a thumb drive. My question…
zonko
  • 11
  • 2
1
vote
0 answers

Office365 removes mail headers before send

We're sending mails using c# Mail library, we need to send specific headers to track them through external providers. We've tried some months ago and it worked, but now trying again before deploying in production it doesn't work. We're using…
Marc
  • 111
  • 4
1
vote
1 answer

add_header 'Cache-Control' working only without location context

I've installed nginx/1.10.3 (Ubuntu) and changed the original config file so that it is only slightly different at the top of the http context: http { add_header 'Cache-Control' 'no-cache'; and this is working. I will see 'no-cache' in the…
sorry
  • 11
  • 1
  • 3
1
vote
2 answers

Redirect real IP client nginx

How to send to proxied server the real ip of client? My settings are: server { listen 80; server_name foo.example.com; location / { proxy_pass http://someip; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; …
1
vote
1 answer

Postfix swallows Bcc header

I use the postfix 2.9.6 and use a milter to read the contents for my application. I am seeing Postfix swallows Bcc: header from the incoming emails and my milter missed just that Bcc header. Is there a reason why this is happening and any way of…
1
vote
1 answer

Postfix MTA - Match string in header fields

I'm trying to block some spammer by filtering some fields in the mail header, but it isn't working. The spammer is adding random domains in the headers, but the "user" is always the same, like this: www-data@domain1.com , www-data@domain2 and so on.…
Daichi42
  • 55
  • 1
  • 1
  • 6
1
vote
1 answer

Keeping Headers During NGINX Rewrite

I am attempting to set up an NGINX proxy to redirect all requests to one of two servers based on the contents of a query string argument. Essentially: https://my.site.com/api/...&server=a should redirect…
JimmidyJoo
  • 131
  • 1
  • 5
1
vote
1 answer

Ignoring forwarder IP in syslog-ng

We are getting syslog-ng feeds from a forwarder that we don't control. The issue is that they are using an older version (RHEL 6), and while they have keep_hostnames set to 'yes' (chain_hostnames to 'no'), it's just not working. Their feed is still…
jasonmclose
  • 161
  • 5
1
vote
1 answer

Is https preventing a proxy from adding x-forward-for header?

I'm trying to troubleshoot an issue for a user of my service https://jsonip.com. Last week I enabled forcing 301 redirects for all http to https connections. The user I'm trying to help now was relying on his internal IP being added to the…
Geuis
  • 625
  • 3
  • 8
  • 17
1
vote
0 answers

Haproxy Nginx : How not to forward the local port?

I have haproxy which listening on ports 80 and 443 and behind Nginx listening locally on ports 8000, 8001, 8002 etc... By default, all works fine but when an application web made a redirect 301, it redirect with the local port in the response so my…
Body
  • 66
  • 1
  • 7
1
vote
1 answer

LUKS Header - 30kB mysteriously missing

I have a disk containing (only) a LUKS encrypted volume. That was created on a bare drive with no partition table using cryptsetup v.1.6.1. When unlocked, I can check the size of the decrypted volume, compare it to the whole disk, and see that the…
Diagon
  • 236
  • 1
  • 10
1
vote
1 answer

Doctype xml version definition

W3C DTD instructions include the following as the very first line of a (X)HTML document: I acknowledge the importance of the DOCTYPE declarations that come after this, but what exactly is the point of this…
Joonas Pulakka
  • 326
  • 1
  • 2
  • 7
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