Preparing to deploy a web application using nginx as a web server using awsec2.
Currently, ubuntu+django+uwsgi+nginx is placed on ec2 through ssh.
The problem is that if my computer writes ec2 public instance to the address bar, all functions are normally
Apply. But if you try to be sent to a server to send in (Friends ' computer or other computers around the house) another computer
.An error of 403 occurs.
I'm not sure where to show you the web server or aws setting, so please answer.
If you tell me more information, I'll fix it right away
Thank you so muchㅠㅠ
This is a security group. I specified only ssh as my ip. An error of 403 occurred in this state
I don't know the routing table, but I haven't changed the value of the routing table
Outbound is also the default
aws ec2 nginx
It was the csrf token question.
There is a csrf 403 error, and if you use django as a bag, set up ajax or axios csrf token
Check django view again to see if you wrote down the sensor_csrf_cookie!
574 Who developed the "avformat-59.dll" that comes with FFmpeg?
581 PHP ssh2_scp_send fails to send files as intended
915 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
578 Understanding How to Configure Google API Key
613 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2024 OneMinuteCode. All rights reserved.