Last active
December 15, 2019 12:12
-
-
Save Harsimran1/7c9a5740c74fe02b3d3d6a5e041c5d60 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: nginx-conf | |
data: | |
nginx.conf: | | |
worker_processes 3; | |
pid /tmp/nginx.pid; # Changed from /var/run/nginx.pid | |
error_log /var/log/nginx/error.log; | |
events { | |
worker_connections 10240; | |
} | |
http { | |
server { | |
listen 8080; # Changed from default 80 port | |
server_name _; | |
location / { | |
root html; | |
index index.html index.htm; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment