skip to Main Content

nginx redirecting issue "w2.valleymedtrans.com redirected you too many times" – Apache

I want to convert apache VHost to Nginx vhost. this is my Apache Vhost and working fine. <VirtualHost *:80> ServerName w2.valleymedtrans.com ServerAdmin "[email protected]" DocumentRoot /var/www/html/website/valleymedtrans.com/website2019 <Directory /var/www/html/website/valleymedtrans.com/website2019> AllowOverride All Require all granted DirectoryIndex index.php </Directory> CustomLog /var/log/httpd/access.log combined ErrorLog /var/log/httpd/error.log…

VIEW QUESTION

Java – Spring security, Shibboleth (apache) and onelogin

The actual Spring Security configuration is like this: @Configuration @EnableWebSecurity public class WebSecurityConfig extends WebSecurityConfigurerAdapter { @Override protected void configure(HttpSecurity http) throws Exception { http.authorizeRequests() .antMatchers("/uri1/**").hasAuthority(Permission.AUTHORITY1.toString()) .antMatchers("/uri2/**").hasAuthority(Permission.AUTHORITY2.toString()) .anyRequest().hasAuthority(Permission.AUTHORITY3.toString()) .and().httpBasic() .realmName("App").and().csrf().disable(); http.authorizeRequests(); http.headers().frameOptions().sameOrigin().cacheControl().disable(); } @Bean public Filter shallowEtagHeaderFilter() { return new…

VIEW QUESTION
Back To Top
Search