Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for directives (4.5 sec)

  1. internal/config/browser/browser.go

    }
    
    // IsHSTSIncludeSubdomains - is HSTS 'includeSubdomains' directive enabled
    func (browseCfg *Config) IsHSTSIncludeSubdomains() string {
    	configLock.RLock()
    	defer configLock.RUnlock()
    	if browseCfg.HSTSSeconds > 0 && browseCfg.HSTSIncludeSubdomains {
    		return config.EnableOn
    	}
    	return config.EnableOff
    }
    
    // IsHSTSPreload - is HSTS 'preload' directive enabled
    func (browseCfg *Config) IsHSTSPreload() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. internal/config/browser/help.go

    			Description: `turn 'on' to set Strict-Transport-Security 'includeSubDomains' directive` + defaultHelpPostfix(browserHSTSIncludeSubdomains),
    			Optional:    true,
    			Type:        "boolean",
    		},
    		config.HelpKV{
    			Key:         browserHSTSPreload,
    			Description: `turn 'on' to set Strict-Transport-Security 'preload' directive` + defaultHelpPostfix(browserHSTSPreload),
    			Optional:    true,
    			Type:        "boolean",
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 01 16:36:33 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top