This repository was archived by the owner on Oct 8, 2025. It is now read-only.
  
  
  
  
Security headers supported? #1583
              
                Unanswered
              
          
                  
                    
                      fred666333
                    
                  
                
                  asked this question in
                Support
              
            Replies: 2 comments
-
| Not really familiar with those, but a quick scan of the Unit code doesn't show any specific handling of them... | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| Thanks, I can add that it works with an application plugin, but that is maybe not relevant... | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Are these Nginx codes supported in Unix?
add_header Strict-Transport-Security 'max-age=31536000; includeSubDomains';add_header Referrer-Policy "strict-origin-when-cross-origin";Cache control works as described on this site: https://unit.nginx.org/configuration/#response-headers
I did not get an error when I added "Strict-Transport-Security" and "Referrer-Policy" but it had no effect.
Fred
Beta Was this translation helpful? Give feedback.
All reactions