server{ listen 80; server_name www.itze.cn; index index.html; root /nginx/html/web; location / { root html; index index.html index.htm; proxy_intercept_errors on;目前大多个人博客都基本使用的是免费的https证书,而免费的https证书使用的比较多的...
配置nginx location / { proxy_set_header Host $http_host; proxy_set_header X-Real-IP ...
worker_processes auto; events { worker_connections 1024; } # RTMP configuration #rtmp { # server { # listen 1935; # Listen on standard RTMP port # chunk_size 4000; # # application appstream { # live on; # hls on; # hls_path /nginx/hls/; # hls_fragment 2; # hls_playlist_length...
apiVersion: extensions/v1beta1 kind: Ingress metadata: name: easier-minio annotations: kubernetes.io/ingress.allow-http: "true" nginx.ingress.kubernetes.io/backend-protocol: HTTPS nginx.ingress.kubernetes.io/secure-backends: "true" spec: tls: - secretName: easier-tls-cert rules: - host: minio...
如果你的站点是用nginx,那么代理配置如下,如果用别的,可是去搜搜怎么配置,但是原理都是一样的。 #--- google analytics proxy --- location /gtm.js { sub_filter 'www.googletagmanager.com' $server_name; sub_filter_types *; sub_filter_once off; proxy_set_header Accept-Encoding ''; proxy_pass ...
I have tried everything mentioned in this thread. The websocket works fine with HTTP but after installing the free SSL certificate from AWS certificate manager on AWS EC2 it is not working. I am not sure the path of the certificate that we have to mention in the .env file as there are...