Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

clean up prod nginx

Maidul Islam5c55e6e5085c
diff --git a/nginx/default.conf b/nginx/default.conf
index ce6ea8fd19..f52edda3f1 100644
--- a/nginx/default.conf
+++ b/nginx/default.conf
@@ -1,17 +1,5 @@
server {
listen 80;
- listen [::]:80;
-
- server_name your.domain.com;
-
- return 302 https://$server_name$request_uri;
-}
-
-server {
- listen 443 default_server ssl http2;
- listen [::]:443 ssl http2;
-
- server_name your.domain.com;
location /api {
proxy_set_header X-Real-RIP $remote_addr;