There are quite a few posts telling me to write down the port twice, but I don't know why I write listen [::]:80;.
server {
listen 80;
listen [::]:80; # This part
...
}
If all fields in IPv6 are zero, simply omit them and mark them as ::
. I think that's it.
https://stackoverflow.com/questions/34305351/what-does-mean-in-my-nginx-config-file
Search Keyword: nginx what does mean "::"
548 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
710 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
549 PHP ssh2_scp_send fails to send files as intended
537 Uncaught (inpromise) Error on Electron: An object could not be cloned
© 2024 OneMinuteCode. All rights reserved.