Open LsHallo opened 2 years ago
it isn't the return
I believe it's the quotes that cause this; not sure why
Same problem with proxy_set_header Connection "upgrade";
Don't know if the quotes are strictly necessary, but that's the exact form used by the docs http://nginx.org/en/docs/http/websocket.html
Describe the bug Code highlighting breaks when using return with text content.
To Reproduce Paste this config:
Code highlighting breaks after the return 200 "LB" block:
Expected behavior Code highlighting will continue to work further down in the config file.
IDE (please complete the following information. See Main Menu -> Help -> About):
Plugin (please complete the following information. See Main Menu -> File -> Settings -> Plugins):
Additional Information
return code [text]
is supported: http://nginx.org/en/docs/http/ngx_http_rewrite_module.html#return