![Security Headers configuration for Nginx](https://www.kittipongint.com/wp-content/uploads/2022/07/Security-Headers-1024x576.jpg)
Security Headers config for Nginx
ขอแปะ code snippet สำหรับการทำให้ website ได้เกรดของ Security Headers เริ่มจาก A ถึง A+ ได้ตามด้านล่างนี้
![Page not found](https://www.kittipongint.com/wp-content/uploads/2021/06/Screen-Shot-2564-06-18-at-16.13.17-1024x511.png)
Redirect URLs ด้วย Nginx
มี broken link ในเว็บเยอะมาก เนื่องจากมีการปรับ structure url ใหม่ ทำให้ link เก่า ๆ ที่เป็นที่จดจำของผู้ใช้บางอันไม่มีอยู่บนเว็บเวอร์ชันใหม่
![](https://www.kittipongint.com/wp-content/uploads/2019/06/Remote-debugging-iOS-Safari-1024x576.jpg)
How to debug Javascript on Safari’s iPhone / iPad
จะไม่ใช่เรื่องยากเลยถ้าเจอเหตุการณ์นี้บนเครื่องคอมพิวเตอร์ กดอินสเปคเตอร์ก็พอจะรู้ว่าเกิดจากอะไร ตัวนี้เป็นมือถือไง แถมเป็น Safari บน iPhone เลยต้องหาวิธี debug ดูสักหน่อย