웹 서버 구축(28)
-
인증서
https://certbot.eff.org/ Certbot Tagline certbot.eff.org 인증서 갱신하는 명령어 certbot renew
2021.12.31 -
arrays-in-cookies-php
https://stackoverflow.com/questions/9032007/arrays-in-cookies-php Storing PHP arrays in cookies How is proper way to store an array in a cookie? in PHP Code example: $number_ticket=2; $info[7][5]=1; $info[8][5]=1; stackoverflow.com setcookie('tradeContentList', json_encode($tradeContentList), time()+86400); $data = json_decode($_COOKIE['tradeContentList'], true);
2021.12.05 -
[문제해결] Cookie “trade_imgListPointer” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute.
Web Console 메시지 Cookie “cookieName” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. 해결방법 1. php https://github.com/GoogleChromeLabs/samesite-examples/blob/master/php.md GitHub - GoogleChromeLabs/samesite-examples: Examples of using the SameSite cookie attribute in a variety of language, libraries Examples of using t..
2021.12.04 -
How to Upload Image using PHP
https://www.devopsschool.com/blog/how-to-upload-and-compress-an-image-using-php/ How to Upload and Compress an Image using PHP - DevOpsSchool.com Spread the KnowledgemoreImage compression is very helpful to reduce the size of the image. Generally, the user does not optimize the image when uploading through the website. In this case,... www.devopsschool.com https://tutorialio.com/resize-an-image-..
2021.12.01 -
특정 디렉터리 umask 설정하기
setfacl -d -R -m m::rwx file/ [참고] s --> 'x' is enabled S --> 'x' is disabled. https://itectec.com/ubuntu/ubuntu-how-to-set-umask-for-a-specific-folder/ Ubuntu – How to set umask for a specific folder – iTecTec For some obvious reasons I need to set umask value for one specific folder. How can one do that? Thanks beforehand! UPDATE 1 The reason I need to use umask for a specific folder is follow..
2021.11.14 -
lxd
https://techviewleo.com/run-linux-containers-with-lxc-lxd-on-ubuntu/ 컨테이너 저장 위치 /var/snap/lxd/common/lxd/storage-pools/default/containers/
2021.11.06