Skip to content

Instantly share code, notes, and snippets.

View openwms's full-sized avatar
🎯
focusing

Heiko Scherrer openwms

🎯
focusing
View GitHub Profile
location ~ (/app/kibana|/bundles/|/kibana|/status|/plugins|/elasticsearch) {
auth_basic "Restricted Access";
auth_basic_user_file /etc/nginx/htpasswd.users;
proxy_http_version 1.1;
proxy_pass http://localhost:5601;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
❗️ Opened issue #5 in openwms/org.openwms.wms.receiving
❗️ Closed issue #69 in openwms/org.openwms.common.service
❗️ Closed issue #2 in spring-labs/org.openwms.zile
🗣 Commented on #3 in spring-labs/org.openwms.zile
🎉 Merged PR #3 in spring-labs/org.openwms.zile
🌞 Morning 511 commits ██▊░░░░░░░░░░░░░░░░░░ 13.5%
🌆 Daytime 546 commits ███░░░░░░░░░░░░░░░░░░ 14.4%
🌃 Evening 2284 commits ████████████▋░░░░░░░░ 60.2%
🌙 Night 454 commits ██▌░░░░░░░░░░░░░░░░░░ 12.0%
package org.openwms.gateway;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.cloud.gateway.filter.GatewayFilter;
import org.springframework.cloud.gateway.filter.GatewayFilterChain;
import org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory;
import org.springframework.cloud.gateway.route.Route;
import org.springframework.cloud.gateway.support.ServerWebExchangeUtils;
import org.springframework.http.HttpMethod;