Browse Source

deploy##++++$#~

κρμγ 4 years ago
parent
commit
1bc5d18fb9
3 changed files with 5 additions and 0 deletions
  1. 4 0
      Dockerfile.frontend
  2. 0 0
      nginx.conf
  3. 1 0
      src/main/kotlin/inn/ocsf/bee/freigeld/serve/Security.kt

+ 4 - 0
Dockerfile.frontend

@@ -0,0 +1,4 @@
+FROM nginx:latest
+EXPOSE 80
+COPY nginx.conf /etc/nginx/nginx.conf
+RUN rm /usr/share/nginx/html/* -rf

+ 0 - 0
nginx.conf


+ 1 - 0
src/main/kotlin/inn/ocsf/bee/freigeld/serve/Security.kt

@@ -81,6 +81,7 @@ class Security : WebSecurityConfigurerAdapter() {
                 .csrf()
                 .disable()
                 .authorizeRequests()
+                .antMatchers("/**").permitAll()
                 .antMatchers("/api/new/person/**").permitAll()
                 .antMatchers("/ws/**").permitAll()
                 .anyRequest().authenticated()