Block HTTP acces

Hello!!
I would like to block http access. I should uncomment (adding # symbol) the lines with the reference to port 80:

root@GL-AXT1800:~# cat /etc/nginx/conf.d/gl.conf
index gl_home.html;

lua_shared_dict shmem 12k;
lua_shared_dict nonces 16k;
lua_shared_dict sessions 16k;
lua_code_cache off;

init_by_lua_file /usr/share/gl-ngx/oui-init.lua;

server {
    listen 80;
    listen [::]:80;

Is this correct? Luci web interface will be blocked also with this change?

I’ve found this info in this post:

Thank you very much and best regards!! :grinning:

Hello!!
Finally I’ve decided to try, I confirm that works, now only https is accessible:

image

Best regards!! :grinning: